The following description fails to compile (digital circuit backend):
a = inputPin();
b = not(a);
outputPin(b);
This results in undefined behaviour. Somehow the not primitive is being constructed without its single "in" port, which results in a size mismatch as the source (a), which has 1 output, is being connected to the primitive not, which incorrectly has 0 inputs.
The following description fails to compile (digital circuit backend):
This results in undefined behaviour. Somehow the
not
primitive is being constructed without its single "in" port, which results in a size mismatch as the source(a)
, which has 1 output, is being connected to the primitivenot
, which incorrectly has 0 inputs.