SimonBuxx / LogiJS

Discover and create logic circuits
https://logijs.com
GNU General Public License v3.0
42 stars 6 forks source link

TODO: Bug in wiring system / "Always-high wires" #55

Closed SimonBuxx closed 5 years ago

SimonBuxx commented 6 years ago

In some cases, after making changes to the wires of a sketch, single wires can be buggy and be always high during simulation, independent of their inputs. To fix the wire, it has to be deleted and placed new manually.

Occurs especially when deleting an object and inserting a wire in between the wire ends.

SimonBuxx commented 6 years ago

Method to provoke this bug: Place a gate and connect it to a switch and a lamp. Start and stop the simulation. Then delete the gate and connect the in- and output wires. After starting the simulation and clicking the switch, the wire will always be high.

SimonBuxx commented 5 years ago

Didn't see this one for quite a while, might have been fixed with the recent wiring system redo.

SimonBuxx commented 5 years ago

Will reopen when it occurs again.