Docsity

Sequential Circuits - Intro to Computer Architecture - Lecture Slides, Slides of Computer Architecture and Organization

Partial preview of the text

Download Sequential Circuits - Intro to Computer Architecture - Lecture Slides and more Slides Computer Architecture and Organization in PDF only on Docsity!

Sequential Circuits and Flip-Flops

Circuits

  • Combinatorial โ€“ Circuit that only relies on inputs.
  • Sequential - Circuit determined by input as well as the previous state of the circuit.

Feedback

  • Sequential circuits use the previous state as input by using feedback.
  • After passing through a flip-flop, the result is put back as input along with any other inputs.

Clock

  • A clock sends signals in high and low levels in intervals for sequential circuits.
  • Clocks have high and low levels as well as rising and falling edges.

Flip-Flop

  • Flip-flops are a synchronous sequential circuit that is edge-triggered.
  • Latches are a synchronous sequential circuit that is level-triggered.

Types of Flip-flops

  • SR flip-flop uses 2 inputs: S (set) and R (reset).
  • JK flip-flop is a variation of SR where J is set and K is reset.
  • D flip-flop uses a data input of 1 or 0, where 1 sets the flip-flop and 0 resets it.
  • T flip-flop uses a toggle input of 1 to change states

SR Flip-flop Truth Table

SR Flip-flop (NOR)

JK Flip-flop

  • Variation of SR Flip-flop
  • Named after Texas Instruments engineer, Jack Kirby.
  • J is the set input and K is the reset input
  • Combinations of J and K are the same as the SR Flip-flop except for when both are 1.
  • In the case where J=K=1, the output simply toggles between set and reset.

JK Flip-flop

D Flip-flop

T Flip-flop

  • Uses a single toggle input for the JK Flip-flop.
  • When T=1, then whatever the state is, it switches to the opposite.
  • When T=0, nothing changes.