Download - Sequential circuits
![Page 1: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/1.jpg)
SEQUENTIAL CIRCUITS
![Page 2: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/2.jpg)
INTRODUCTION• A sequential circuit is consists of combinational logic,
feedback path and employs some memory elements
Sequential circuit= Combinational logic + Memory Elements
Feedback path
Present state
Next state
![Page 3: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/3.jpg)
INTRODUCTION
• The memory element is a device which can remember value indefinitely, or change value on command from its inputs.
• The memory element also has a clock input which provides timing for changing states.
• The feedback path is required for the circuit to have memory.
![Page 4: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/4.jpg)
INTRODUCTION• State changes are controlled by clocks.
A “clock” is a special circuit that sends electrical pulses through a circuit.
• Clocks produce electrical waveforms in generally some form of square wave
• Circuits can change state on the rising edge, falling edge, or when the clock pulse reaches its highest voltage.
![Page 5: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/5.jpg)
STORAGE ELEMENTS:LATCHES
![Page 6: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/6.jpg)
LATCHES
• are storage elements that operate with signal levels (rather than signal transitions)
• useful for storing binary information and for the design of asynchronous sequential circuits
• are the building blocks of flip-flops
![Page 7: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/7.jpg)
SR LATCHES
•The SR latch is a circuit with two cross-coupled NOR gates or two cross-coupled NAND gates,
•The two inputs are labeled S for set and R for reset.
![Page 8: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/8.jpg)
SR LATCHES (WITH NOR GATES)
![Page 9: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/9.jpg)
SR LATCHES (WITH NOR GATES)
R
S
Q’
Q
S R Q Q' 1 0 1 0 initial 0 0 1 0 (afer S=1, R=0) 0 1 0 1 0 0 0 1 (after S=0, R=1) 1 1 0 0 invalid!
0
1
1
0
• when Q = 1 and Q’ = 0, the latch is said to be in the set state
• S=HIGH (and R=LOW)
![Page 10: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/10.jpg)
SR LATCHES (WITH NOR GATES)
0
0
1
0
R
S
Q
Q'
S R Q Q' 1 0 1 0 initial 0 0 1 0 (afer S=1, R=0) 0 1 0 1 0 0 0 1 (after S=0, R=1) 1 1 0 0 invalid!
• The inputs must go back to their normal conditions(S=0, R=0) before any changes occur
![Page 11: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/11.jpg)
SR LATCHES (WITH NOR GATES)
1
0
0
1
R
S
Q
Q'
S R Q Q' 1 0 1 0 initial 0 0 1 0 (afer S=1, R=0) 0 1 0 1 0 0 0 1 (after S=0, R=1) 1 1 0 0 invalid!
• When Q = 0 and Q’ = 1, it is in the reset state
• S=LOW (and R=HIGH)
![Page 12: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/12.jpg)
SR LATCHES (WITH NOR GATES)
R
S
Q
Q'
S R Q Q' 1 0 1 0 initial 0 0 1 0 (afer S=1, R=0) 0 1 0 1 0 0 0 1 (after S=0, R=1) 1 1 0 0 invalid!
0
0
0
1
• The inputs must go back to their normal conditions(S=0, R=0) before any changes occur
![Page 13: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/13.jpg)
SR LATCHES (WITH NOR GATES)
R
S
Q
Q'
S R Q Q' 1 0 1 0 initial 0 0 1 0 (afer S=1, R=0) 0 1 0 1 0 0 0 1 (after S=0, R=1) 1 1 0 0 invalid!
1
1
0
0
If both inputs HIGH a Q and Q' both LOW (invalid)!
![Page 14: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/14.jpg)
SR LATCHES (WITH NAND GATES)
![Page 15: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/15.jpg)
SR LATCHES (WITH NAND GATES)
S
R
Q
Q'
S R Q Q' 1 0 0 1 initial 1 1 0 1 (afer S=1, R=0) 0 1 1 0 1 1 1 0 (after S=0, R=1) 0 0 1 1 invalid!
1 0
0 1
• when Q = 0 and Q’ = 1, the latch is said to be in the set state
• R=LOW (and S=HIGH)
![Page 16: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/16.jpg)
SR LATCHES (WITH NAND GATES)
S
R
Q
Q'
S R Q Q' 1 0 0 1 initial 1 1 0 1 (afer S=1, R=0) 0 1 1 0 1 1 1 0 (after S=0, R=1) 0 0 1 1 invalid!
1 0
1 1
• The inputs must go back to their normal conditions (S=1, R=1)before any changes occur
![Page 17: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/17.jpg)
SR LATCHES (WITH NAND GATES)
S
R
Q
Q'
S R Q Q' 1 0 0 1 initial 1 1 0 1 (afer S=1, R=0) 0 1 1 0 1 1 1 0 (after S=0, R=1) 0 0 1 1 invalid!
0 1
1 0
• When Q = 0 and Q’ = 1, it is in the reset state
• R=LOW (and S=HIGH)
![Page 18: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/18.jpg)
SR LATCHES (WITH NAND GATES)
S
R
Q
Q'
S R Q Q' 1 0 0 1 initial 1 1 0 1 (afer S=1, R=0) 0 1 1 0 1 1 1 0 (after S=0, R=1) 0 0 1 1 invalid!
1 1
1 0
• The inputs must go back to their normal conditions (S=1, R=1)before any changes occur
![Page 19: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/19.jpg)
SR LATCHES (WITH NAND GATES)
S
R
Q
Q'
S R Q Q' 1 0 0 1 initial 1 1 0 1 (afer S=1, R=0) 0 1 1 0 1 1 1 0 (after S=0, R=1) 0 0 1 1 invalid!
0 1
0 1
If both inputs LOW a Q and Q' both LOW (invalid)!
![Page 20: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/20.jpg)
SR LATCHES WITH CONTROL INPUT
![Page 21: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/21.jpg)
SR LATCHES WITH CONTROL INPUT
![Page 22: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/22.jpg)
D LATCHES (TRANSPARENT LATCH)
• Ensure that inputs S and R are never equal to 1 at the same time.
• has only two inputs: D (data) and En (enable)
![Page 23: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/23.jpg)
D LATCHES (TRANSPARENT LATCH)
When EN is HIGH,D=HIGH latch is SETD=LOW latch is RESET
Hence when EN is HIGH, Q ‘follows’ the D (data) input.
Characteristic table:
EN D Q
1 0 0 Reset
1 1 1 Set
0 X Q No change
![Page 24: Sequential circuits](https://reader036.vdocuments.us/reader036/viewer/2022062312/555cdcb4d8b42aeb2c8b53d3/html5/thumbnails/24.jpg)
D LATCHES (TRANSPARENT LATCH)