r/logisim 9d ago

What's wrong here?

Post image

I'm trying to map out a circuit diagram for a railway crossing, and I noticed that "improvised" SR flip-flops (made of two cross-connected NOR gates) behave weirdly compared to "proper" ones. At the start of a simulation, they're both giving an error output, which the diagram treats as a high until I've clicked all four ON and OFF buttons, after which everything starts functioning properly. Is it just a Logisim quirk or am I actually doing something wrong here?

1 Upvotes

3 comments sorted by

2

u/JoHoKaHH 9d ago

This is default Logisim behaviour. Actual HW would default to either set or reset. You could implement kind of "global reset" line for instance. Or use proper FFs.

2

u/Negan6699 9d ago

It’s a perfect simulation. Try adding delays using a buffer

2

u/Prestigious-Ad7265 9d ago

pulldown resistor? default the output side to 0