Session 1 Sequential Circuits Introduction A sequential circuit
- Slides: 15
Session 1
Sequential Circuits
Introduction § A sequential circuit consists of a feedback path, and employs some memory elements. Combinational outputs Memory outputs Combinational logic Memory elements External inputs Sequential circuit = Combinational logic + Memory Elements
Memory Elements § Memory element: a device which can remember value indefinitely, or change value on command from its inputs. command Memory element Q stored value § Characteristic table: Q(t): current state Q(t+1) or Q+: next state
Memory Elements § Memory element with clock. Flip-flops are memory elements that change state on clock signals. command Memory element Q clock § Clock is usually a. Positive square pulses wave. Positive edges Negative edges stored value
Memory Elements § Two types of triggering/activation: v pulse-triggered v edge-triggered § Pulse-triggered v latches v ON = 1, OFF = 0 § Edge-triggered v flip-flops v positive edge-triggered (ON = from 0 to 1; OFF = other time) v negative edge-triggered (ON = from 1 to 0; OFF = other time)
S-R Flip-flop § S-R flip-flop: on the triggering edge of the clock pulse, v S=HIGH (and R=LOW) a SET state v R=HIGH (and S=LOW) a RESET state v both inputs LOW a no change v both inputs HIGH a invalid § Characteristic table of positive edge-triggered S-R flip-flop: X = irrelevant (“don’t care”) = clock transition LOW to HIGH
S-R Flip-flop § It comprises 3 parts: v a basic NAND latch v a pulse-steering circuit v a pulse transition detector (or edge detector) circuit § The pulse transition detector detects a rising (or falling) edge and produces a very short-duration spike.
S-R Flip-flop The pulse transition detector. S Pulse transition detector CLK Q' R CLK' CLK Q CLK* CLK' CLK* CLK CLK' CLK* Positive-going transition (rising edge) Negative-going transition (falling edge)
D Flip-flop § D flip-flop: single input D (data) v D=HIGH a SET state v D=LOW a RESET state § Q follows D at the clock edge. § Convert S-R flip-flop into a D flip-flop: add an inverter. D CLK S C R Q Q' A positive edge-triggered D flip-flop formed with an S-R flip-flop. = clock transition LOW to HIGH
D Flip-flop § Application: Parallel data transfer. To transfer logic-circuit outputs X, Y, Z to flipflops Q 1, Q 2 and Q 3 for storage. D X Combinational logic circuit Y Z CLK D Transfer CLK Q Q 1 = X* Q' Q Q 2 = Y* Q' Q Q 3 = Z* Q' * After occurrence of negative-going transition
J-K Flip-flop § J-K flip-flop: Q and Q' are fed back to the pulse§ § steering NAND gates. No invalid state. Include a toggle state. v J=HIGH (and K=LOW) a SET state v K=HIGH (and J=LOW) a RESET state v both inputs LOW a no change v both inputs HIGH a toggle
J-K Flip-flop § J-K flip-flop. J CLK K Pulse transition detector § Characteristic table. Q(t+1) = J. Q' + K'. Q Q Q'
T Flip-flop § T flip-flop: single-input version of the J-K flip flop, formed by tying both inputs together. T CLK T Q Pulse transition detector CLK Q' § Characteristic table. Q(t+1) = T. Q' + T'. Q J C K Q Q'
T Flip-flop § Application: Frequency division. High J CLK C High J Q CLK K CLK Q QA QA J C C K K QB Divide clock frequency by 2. Divide clock frequency by 4. QB
- Introduction to sequential circuits
- What is a parallel circuit in physics
- Solved: ph dincussion ac circuits session 12 q2. low-pass
- Non bistable sequential circuits
- Analysis of sequential circuits
- Contoh rangkaian sekuensial
- Finite state machine sequential circuits
- Continues
- Analysis of sequential circuits
- Non bistable sequential circuits
- Sequential circuits prelude
- Sequential circuits
- Sequential circuits
- Analysis of synchronous sequential circuits
- Analysis of synchronous sequential circuits
- Mealy and moore sequential circuits