Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras
*Currently a Visiting Professor at IIT Bombay
Digital Circuits and Systems
Spring 2015 Week 4 Module 18
Sequential Elements
Systems Sequential Elements Shankar Balachandran* Associate - - PowerPoint PPT Presentation
Spring 2015 Week 4 Module 18 Digital Circuits and Systems Sequential Elements Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras *Currently a Visiting Professor at IIT Bombay Motivation
Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras
*Currently a Visiting Professor at IIT Bombay
Sequential Elements
Hotels have housekeeping
When the guest leaves the room, can request for housekeeping
I am going out now. Please clean up the room before I return.
Guest can press a button (SET) saying room needs
A light on the outside turns ON indicating that the room needs
Housekeeping staff who comes around can see a light
The staff should remember to turn off the light
Don’t want a room to be cleaned again and again on the same
Should RESET
Sequential Elements 2
Memory element Light Housekeeping Request Reset Set On Off
Sequential Logic Elements 4
In a sequential circuit steady state outputs are a function
Feedback in the logic paths. The state of the circuit is the state of the memory
A B
Sequential Logic Elements 6
Latches and flip-flops are the basic building blocks of
Bistable devices – 0 state and 1 state.
Reset Set Q
Sequential Logic Elements 8
The most basic sequential circuit is an SR latch (the term
S = set (input); R = reset (input); Q = current state of the
NOR implementation of an SR latch:
S R Q a Q b 1 1 1 1 0/1 1/0 1 1 (a) Circuit (b) Truth table Time 1 1 1 1 R S Q a Q b Q
a
Q
b
? ? (c) Timing diagram R S t
1
t
2
t
3
t
4
t
5
t
6
t
7
t
8
t
9
t
10
(no change)
Sequential Logic Elements 10
Given the current state and inputs to a latch, what is the next state.
Undefined (0 0)
Sequential Logic Elements 11
Undefined (1 1)
Characteristic Table
Sequential Elements 12
Undefined
Still have problems with 11 inputs to SR latch.
S R Clk Q Q
Undefined
Still have problems with 11 inputs to SR latch – one solution is to
Sequential Logic Elements 14
D (data) latch or D flip-flop does not allow both inputs to an SR
A register is an array of D latches or flip-flops which share a
Characteristic Table
Sequential Elements 15