DIGITAL ELECTRONICS (REGISTER)
-
Upload
rohit-maurya -
Category
Documents
-
view
4.551 -
download
1
Transcript of DIGITAL ELECTRONICS (REGISTER)
![Page 1: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/1.jpg)
Chapter 16
Sequential Circuits for Registers and Counters
![Page 2: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/2.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Lesson 1
REGISTERS
![Page 3: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/3.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Outline• Register• Parallel-In Parallel-Out Register• Bistable latches as register• Buffer Register
![Page 4: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/4.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
D-FF as 1-bit Register
• A D flip-flop registers at the Q output the bit at D-input. Qn+1 ←D
• This fact can be used to design a multi-bit register
![Page 5: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/5.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
4- bit Register using D-FFs
DQD
D-FFDQC
D-FFDQB
D-FFDQA
D-FF
CLK (Load)
XA XBXC XD
4-bit Output
![Page 6: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/6.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Timing Diagram when -ve edge Clk D-FFs used CLK(Load)
XA...XD
t
QA...QD
![Page 7: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/7.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Timing Diagram when +ve edge Clk D-FFs used CLK(Load)
XA...XD
t
QA...QD
![Page 8: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/8.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Register Inputs and Outputs
• Since the Ds must be set up before a time equal to the setup time, therefore the Ds need to be set-up at the inputs before ts (= set up time) from the clock edge. Next-state Qs are valid when the Ds hold up to th (= hold time) after the edge
![Page 9: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/9.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Setup Time for Register inputsXA.. XD
• Setup time, ts is an average of the minimum required time for XA.. XD at D inputs before -ve edge of CLK is applied so that the outputs QA.. QD are as per D-FF circuit design and its state table.
![Page 10: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/10.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Hold Time for Register inputsXA.. XD
• Hold time, th is an average of the minimum required time for input to hold its logic state unchanged after a -ve edge of CLK is applied so that the output QA.. QD is as per the circuit design and its state table.
![Page 11: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/11.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Register• A register transfers the input D bits to
next Qs such that Q’i (n+1) = Di after an interval from nth clock edge instance plus propagation delay
![Page 12: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/12.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Clock Edges • A register “looks upon” the data bits at
DD DC DB DA only at the instant of a falling edge (-ve edge) in case of -ve edge D-FFs are used and at rising edge in case +ve edge D-FFs are used. A Register does not care (accept or clock) the data just before rising edge and after th and will care only again at the next rising edge.
![Page 13: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/13.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Average Propagation Delay in Registering at outputs
• Average propagation delay, tp of a Register is average interval tp from the -ve edge of CLK after which XA.. XDare available at QA.. QD
![Page 14: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/14.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Outline• Register• Parallel-In Parallel-Out Register• Bistable latches as register• Buffer Register
![Page 15: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/15.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
A parallel in parallel out (PIPO)
• Applied all n-inputs Xs on n-parallel input lines
• All n-outputs Qs are on parallel lines.
![Page 16: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/16.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
A parallel in parallel out (PIPO)
• Transfers the input bits X to next Qs such that Q’i (n+1) = X i after nth clock input.
• Loads the external inputs as the excitation inputs and undergoes transition to the next state on a clock transition.
![Page 17: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/17.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
A parallel in parallel out (PIPO)
• Gives parallel outputs, which are the same as the next state. [Parallel inputs mean Di = Xi at same time and Parallel outputs mean Yi = Qi at same time where i = 0, 1, 2 or 3 for a 4-bit PIPO. Note: i = 0, 1, 2... n-1 in an n-bit PIPO register]
![Page 18: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/18.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Outline• Register• Parallel-In Parallel-Out Register• Bistable latches as register• Buffer Register
![Page 19: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/19.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
4- bit Register using D-Latches
DQD
D-Latch
DQC
D-Latch
DQB
D-Latch
DQA
D-Latch
CLK (Load)
XA XBXC XD
4-bit Output
![Page 20: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/20.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Timing Diagram when + Level 1 CLK at D-Latches
CLK(Load)
XA...XD
t
QA...QD
Latch Transparent region
![Page 21: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/21.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Bi-stable Latches
• The bi-stable latches, for example, D Latches, arranged in place of the flip-flops in circuit can also store the data.
![Page 22: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/22.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Transparent Latch as Register • A latch differs from the register in
the sense that after the activation of the clock (enable or strobe or write) input (CLK), the bi-stable latches are transparent, and allow the data bits at DD DC DB DA to pass from the D inputs to the QDQC QB QA outputs during that period.
![Page 23: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/23.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Outputs from Latches
• The QD QC QB QA stabilizes to the D-values after the CLK input inactivates. If we send a pulse at an CLK input, then the DD DC DB DA should be stable during the entire clock period of activation plus the period for set-up for the inputs plus the period needed for as hold up time of inputs.
![Page 24: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/24.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Register Outputs for Latches• The last Qs before the CLK
inactivates become the registered values. These outputs appear after a time equal to ∆T (propagation delay) from the inactivation at the CLK.
![Page 25: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/25.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Outline• Register• Parallel-In Parallel-Out Register• Bistable latches as register• Buffer Register
![Page 26: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/26.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Buffer Register
• Register, which is used to hold the inputs till they are used by the next stage circuit
• Parallel out register can be used as buffer.
![Page 27: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/27.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Summary
![Page 28: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/28.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
• Registers register the inputs on clock edge
• Transparent latch is transparent to the inputs during the clock active interval and register the inputs just before the clock inactivation.
• n D-FFs give n-bit register • n D-latches give n-bit transparent latch
register
![Page 29: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/29.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
End of Lesson 1 on
REGISTERS
![Page 30: DIGITAL ELECTRONICS (REGISTER)](https://reader034.fdocuments.us/reader034/viewer/2022051108/546b294aaf79596c298b4a24/html5/thumbnails/30.jpg)
Ch07L13- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006
Thank You