Consider a simple lock circuit built using a 4-bit, active HIGH digital comparator. The first input is variable; it is the input that unlocks the lock. All the bits of the second input are tied to ground. The lock is in the unlocked state when both inputs are equal. The lock is in the locked state when both inputs are not equal.
This circuit contains purely combinational elements with zero loops, since it has only a comparator.
In some resources such as this one, it states that there are two types of circuits:
- Stateless combinational circuits (&,|,~)
- Stateful circuits (eg. registers)
In this other resource, https://computationstructures.org/notes/fsms/notes.html, the block diagram of FSM shows the presence of flip-flops as state registers.
My circuit does not contain any registers or flip-flops. Does this circuit have any memory or state?