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 22
Sequential Circuits
Systems Sequential Circuits Shankar Balachandran* Associate - - PowerPoint PPT Presentation
Spring 2015 Week 4 Module 22 Digital Circuits and Systems Sequential Circuits Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras *Currently a Visiting Professor at IIT Bombay Registers A
Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras
*Currently a Visiting Professor at IIT Bombay
Sequential Circuits
Sequential Logic Elements 2
A register is a group of storage cells suitable for holding
Flip-flop or latches can be used as storage cells in a
There are different types of registers based on the way in
Parallel-in Parallel-out (Data Load) Serial-in Serial-out (Shift register) Universal Shift Register
Sequential Logic Elements 3
All cells of a register loaded in one clock cycle.
Sequential Circuits 4
Loaden_n
Sequential Logic Elements 5
The data is stored by serially sending it in, i.e., n clocks are needed
t t
1
t
2
t
3
t
4
t
5
t
6
t
7
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 R
3
R
2
R
1
R Out = In
Sequential Logic Elements 6
Sequential Logic Elements 7
For example, multiplying a binary number by 2 is equivalent to
Multiplying by 2i is equivalent to shifting i bit positions to the left
Shift right by 1 position Dividing by 2i is equivalent to shifting i bit positions to the right
Will lose the reminder though unless the shifted bits are stored
Sequential Logic Elements 9
All the above register functions can be combined into a single circuit
How would you implement universal shift register using D flip-flops and logic gates?
Sequential Circuits 10