Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Digital Systems
Chapter 2.2
Review:
Ring Counter, Johnson Counter
1
Syllabus
l Ring Counter
l Parallel Output Ring Counter
l Ring Counter via D Flip-Flops
l Timing Diagram of Ring Counter
l Johnson Counter
l Ring vs. Johnson Counter Table
l Pros and Cons
2
Ring Counter
Pictures and flow of ideas taken from [1]
3
Counter
l When the output of a shift register array is fed
back to its input, result is a ring counter
l Data pattern contained within shift register
will recirculate as long as clock pulse applied
l Constant data pattern will repeat every n
clock pulses in n-bit shift register; see below
for n = 4
l But necessary first to load some data pattern
l Initializing all 0’s or all 1’s doesn’t count ☺
l How useful is such a simple, continuously
looping digital signal pattern?
l May be used for counting, count reduction via
division, integer modulo operation
4
Abstract 4-bit Ring Counter
6
Abstract 4-bit Ring Counter
10
Johnson Counter
Taken from [2]
11
Johnson Counter Def:
l A Johnson Counter is a modified ring
counter, whose inverted output of last Flip-
Flop becomes input to the first
l Interestingly, the MOD of the Johnson
Counter is 2 * n, with n being number of bits,
i.e. number of Flip-Flops used
12
Johnson Counter
l Named after Robert Royce Johnson, US
inventor, 1928 - 2016
l Johnson Counter, AKA “Johnson Ring
Counter”, AKA “Twisted Ring Counter”
l Similar to Ring Counter above
l But instead of using the output Q of last D
Flop-Flop as input, inverted output Q’
becomes input of first Flip-Flop
l Model here uses 4 Flip-Flops
l Initial pattern of 1 0 0 0 of 4 input bits creates
1 output at Q’ of last (or 4th ) D Flip-Flop,
which is then fed into input of 1st D Flip-Flop
13
Johnson Counter Table
15
Johnson Counter
l Johnson 4-bit ring counter streams blocks
of four 0s followed by four 1s
l Thus producing an 8-bit pattern with 4 Flip-
Flops
l Inverted output Q’ is connected to D input
l Thus an 8-bit pattern continually repeats
l Example: “1000”, “1100”, “1110”, “1111”,
“0111”, “0011”, “0001”, “0000”, “1000” etc.
l Circuit above shows such a Johnson
Counter
l Next table show Ring- and Johnson Counter
16
Ring vs. Johnson Counter Table
18
Pros and Cons
l Ring Counter can represent only n states,
with n = number of bits (Flip-Flops)
l Johnson Ring counters can represent 2 * n
states
l Binary adder can represent 2n states
l Johnson can “self-initialize” to all 0 state!
l Ring- as well as Johnson Flip-Flop only
have a limited number states
19
Bibliography
1. Wiki for Ring Counter: https://
www.allaboutcircuits.com/textbook/digital/
chpt-12/ring-counters/
2. Wiki for Johnson counter: https://
www.electronics-tutorials.ws/sequential/
seq_6.html
3. Regular and Johnson ring counter together:
https://en.wikipedia.org/wiki/Ring_counter
4. Robert Joyce Jophnson: https://
en.wikipedia.org/wiki/
Robert_Royce_Johnson
20