Signal is represented in Logicly using colors. Wires connecting objects, and some objects themselves, may change color on the editing surface when pins change state or when a connection is created or removed.
The simulator assumes that all input pins start out in an high impedance (hi-Z) state before the signal begins propagating. If you prefer to work strictly with high (true) and low (false) values only, you may change the default float signal to high or low in your document settings.
In the real world, if a gate's input pin is left "floating" (unconnected), it could pick up noise from the surrounding environment and change state unexpectedly. In other words, at any given moment, the simulator can't necessarily be sure if an unconnected input pin should be interpreted as a high or low signal. With this in mind, some components may output an error state if they receive a high impedance (hi-Z) signal.
There are a couple of ways to avoid propagating a high impedance (hi-Z) signal:
A high impedance (hi-Z) signal may be intentionally output by the Tri-State component to be used as an input for the Bus component.
For the mathematically inclined, here's the truth table that Logicly uses:
A | B | A OR B | A AND B | NOT A |
---|---|---|---|---|
True | True | True | True | False |
True | False | True | False | False |
True | Hi-Z | True | Error | False |
True | Error | True | Error | False |
False | True | True | False | True |
False | False | False | False | True |
False | Hi-Z | Error | False | True |
False | Error | Error | False | True |
Error | True | True | Error | Error |
Error | False | Error | False | Error |
Error | Hi-Z | Error | Error | Error |
Error | Error | Error | Error | Error |