This contains two ring counters implemented using Latches and pcb!
.
This is designed using this wikipedia page.
-
One Hot Ring Counter / Straight Ring Counter Image taken from Wikimedia commons.
This sets a pattern of
1000
and rotates it.- This needs 4 D latches as seen from the diagram
- exposes e (enable), r (reset), q1-q4 (output) pins
- to reset back to
1000
, sete
tofalse
, setr
totrue
for one tick - after that each 3 ticks with
e
set totrue
will shift1
by 1 position
-
Johnson's Ring Counter / Twisted Ring Counter Image taken from Wikimedia commons. This changes pattern of
0000
to1111
and back to0000
- This needs 4 D latches as seen from the diagram
- exposes e (enable), r (reset), q1-q4 (output) pins
- to reset back to
0000
, sete
tofalse
, setr
totrue
for one tick - after that each 3 ticks with
e
set totrue
will shift the pattern to next state