Lecture 9 - Sequential and Programmable Logic
Lecture 9 - Sequential and Programmable Logic
1
Sequential logic
• Whose outputs are determined from present inputs as well as
previous outputs
• They are slower than combinational circuits
• It consists of input variables, logic gates, memory unit and output
variables
• Example:
Flip Flops, counters
2
Latches
• Continuously check its inputs and changes its output accordingly
• It does not require clock signal
• It is based on the enable signal
• Power requirement of latch is less
• Different latches are
- SR latch with NOR gates
- SR latch with NAND gates
- SR latch with control input
- D latch
3
SR Latch with NOR Gates
R
• Gate level representation
S
• Truth table S R Output
0 0 No change
1 0 Q=1
0 1 Q=0
• Waveform 1 1 Invalid
4
SR Latch with NAND Gates
• Gate level representation
5
SR Latch with Enable Input
S'
R'
• Truth table
E S R Output
0 X X No change
1 0 0 No change
1 0 1 Q=0
1 1 0 Q=1
1 1 1 Invalid 6
D Latch
• Gate level representation