Logic circuits

How many states does a Johnson (twisted-ring) counter made of n flip-flops go through?

  1. An
  2. B2n
  3. C2ⁿ
Show answer and explanation

Answer: B. 2n

A Johnson counter feeds the inverted last output of a shift register back to its input, cycling through 2n states with n flip-flops (with three: 000→100→110→111→011→001). Only one bit changes between neighboring states, so each state can be decoded with a two-input gate and glitches are unlikely. It is also used to generate multiple clocks with evenly staggered phases.

  • A. n states is a ring counter, which circulates a single 1.
  • B. Correct. A Johnson counter goes through 2n states.
  • C. 2ⁿ states is a binary counter.

Related calculators

Books on Logic circuits Ad

Learn hands-on: parts and kits

Building real circuits is a good way to check what you learned in the questions.

As an Amazon Associate I earn from qualifying purchases.

More Logic circuits questions

  1. What is a typical use of a linear feedback shift register (LFSR), which feeds the XOR of some outputs of a shift register back to its input?
  2. When several open-drain outputs are connected to one signal line with a pull-up resistor, how does the line behave?
  3. When is the output of a two-input NAND gate 0?
  4. According to De Morgan's laws, which expression is equal to NOT(A AND B)?
  5. Which correctly describes the operation of a D flip-flop?

Comparisons in this topic