I am trying to build a D flip-flop but I can´t get rid of those red wires. Is there a way to solve this?
EDIT: I was able to fix it manually through step-by-step simulation, but I still would like to know if there is a way to avoid this problem.
I am trying to build a D flip-flop but I can´t get rid of those red wires. Is there a way to solve this?
EDIT: I was able to fix it manually through step-by-step simulation, but I still would like to know if there is a way to avoid this problem.
Depending on the circuit you build, you cannot avoid this situation.
Commonly you get into it, if you close a feedback loop that already has a signal in error.
The menu "Simulate" has the command "Reset Simulation", the keyboard shortcut is Ctrl-R.
Logisim might also decide to disable its simulation in certain situations. You will see this in the same menu at the command "Simulation Enabled" (Ctrl-E). If there is no check marker, the simulation is disabled. You can toggle by this command.
One good way to avoid this situation as much as possible is to build your circuit from the inputs to the outputs. First connect inputs, only then close loops. If you see a signal in error, which you are going to use as feedback, take a break and strive to change input signals to bring that signal to some non-error value.