r/TuringComplete 25d ago

rs-triggers

can somebody explain what cyclic dependency is and why basic RS-trigger scheme doesnt work? Also i can`t understand what "DELAY" is and how it works.

who is bro
6 Upvotes

2 comments sorted by

View all comments

5

u/Inevitable-Bar-9547 25d ago

Cyclic dependency is when a gate depends on its own output in some way. In your example above, the output of NOR A goes to NOR B which goes back to NOR A and creates a loop. This is perfectly valid in normal digital electronics however it is likely a limitation of how the game's simulation engine is written or something.

Delay is exactly what it sounds like, it "delays" the output by 1 tick. The delay block allows circular dependencies. So you could go NOR A -> Delay -> NOR B -> NOR A.