ESE 570: Digital Integrated Circuits and VLSI...
Transcript of ESE 570: Digital Integrated Circuits and VLSI...
![Page 1: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/1.jpg)
ESE 570: Digital Integrated Circuits and VLSI Fundamentals
Lec 19: April 2, 2019 Sequential Logic, Timing Hazards and
Dynamic Logic
Penn ESE 570 Spring 2019 – Khanna
![Page 2: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/2.jpg)
Lecture Outline
! Sequential Logic ! Timing Hazards ! Dynamic Logic
2 Penn ESE 570 Spring 2019 – Khanna
![Page 3: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/3.jpg)
Sequential MOS Logic
Penn ESE 570 Spring 2019 – Khanna
![Page 4: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/4.jpg)
Classes of Logic Circuits
4
two stable op. pts. Latch – level triggered.
Flip-Flop – edge triggered.
one stable op. pt. One-shot – single
pulse output
no stable op. pt. Ring Oscillator
Combinational Circuits: a. Current Output(s) depend ONLY on Current Inputs. b. Suited to problems that can be solved using truth tables.
Sequential Circuits or State Machines: a. Current Output(s) depend on Current Inputs and Past Inputs via State(s). b. Suited to problems that are solved by completing several steps using current inputs and past outputs in a specific order or a sequential manner.
Penn ESE 570 Spring 2019 – Khanna
![Page 5: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/5.jpg)
Sequential Circuit (or State Machine) Construct
5
-> Register is used to Store Past Values of State(s) and Output(s) -> Synchronous Sequential Circuit – clock, outputs change with clock event -> Asynchronous Sequential Circuit – no clock, outputs change after inputs change
Vo1 Vo2
.
.
.
.
.
.
.
.
Vo3
Present State
Next State
Inputs Outputs
Clock
REGISTER
Penn ESE 570 Spring 2019 – Khanna
![Page 6: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/6.jpg)
Synchronous Discipline
! Add state elements (registers, latches) ! Compute
" From state elements " Through combinational logic " To new values for state elements
6 Penn ESE 570 Spring 2019 – Khanna
![Page 7: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/7.jpg)
Static Bistable Sequential Circuits
7
Basic Cross-coupled Inverter
pair
Q
Q
Penn ESE 570 Spring 2019 – Khanna
![Page 8: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/8.jpg)
8
Basic Cross-coupled Inverter
pair
Q
Q
Static Bistable Sequential Circuits
Penn ESE 570 Spring 2019 – Khanna
![Page 9: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/9.jpg)
9
Basic Cross-coupled Inverter
pair
Static Bistable Sequential Circuits
Q
Q
Penn ESE 570 Spring 2019 – Khanna
![Page 10: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/10.jpg)
10
Basic Bistable Cross-coupled Inverter Pair has no means to apply input(s) to change the circuit's State.
Basic Cross-coupled Inverter
pair Q
Q
VOH = VDD
VOL = 0
maintain stable state. STATIC: VDD and GND are required to maintain a stable state.
Static Bistable Sequential Circuits
Penn ESE 570 Spring 2019 – Khanna
![Page 11: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/11.jpg)
Basic Sequential Circuits (Cells)
! Latches ! Registers
11 Penn ESE 570 Spring 2019 – Khanna
![Page 12: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/12.jpg)
Latch
12
Q =CLK ⋅Q+CLK ⋅ In
! Level-sensitive device ! Positive Latch
" Output follows input if CLK high
! Negative Latch " Output follows input if
CLK low
Penn ESE 570 Spring 2019 – Khanna
![Page 13: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/13.jpg)
Register
13
! Edge-triggered storage element
! Positive edge-triggered " Input sampled on
rising CLK edge
! Negative edge-triggered " Input sampled on
falling CLK edge
Penn ESE 570 Spring 2019 – Khanna
![Page 14: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/14.jpg)
Shift Register
! How do you make a shift register out of latches?
14 Penn ESE 570 Spring 2019 - Khanna
![Page 15: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/15.jpg)
Positive-Edge Triggered Register
! Build register from pair of latches ! What happens when φ0 is high? ! What happens when φ1 is high?
15 Penn ESE 570 Spring 2019 – Khanna
QM
![Page 16: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/16.jpg)
Positive-Edge Triggered Register
! Build register from pair of latches
16 Penn ESE 570 Spring 2019 – Khanna
QM
![Page 17: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/17.jpg)
Positive-Edge Triggered Register
! Build register from pair of latches ! What could go wrong if clocks overlap?
17 Penn ESE 570 Spring 2019 – Khanna
QM
![Page 18: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/18.jpg)
Positive-Edge Triggered Register
! Build register from pair of latches ! Control with non-overlapping clocks
18 Penn ESE 570 Spring 2019 – Khanna
![Page 19: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/19.jpg)
Two Phase Non-Overlapping Clocks
! What timing constraints do we have?
19 Penn ESE 570 Spring 2019 - Khanna
![Page 20: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/20.jpg)
Latch Timing Issues
! What timing constraints do latches impose? " When can φ change? " How long must φ be high? " Delay when φ is high?
" Ie. How fast can I run my clock # min clock period
20 Penn ESE 570 Spring 2019 - Khanna
![Page 21: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/21.jpg)
Timing Hazards
21 Penn ESE 570 Spring 2019 – Khanna
![Page 22: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/22.jpg)
Clocking Discipline
! Follow discipline of combinational logic broken by registers
! Compute " From state elements " Through combinational logic " To new values for state elements
! As long as clock cycle long enough, " Will get correct behavior
22 Penn ESE 570 Spring 2019 - Khanna
![Page 23: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/23.jpg)
Latch Timing Issues
Penn ESE 570 Spring 2019 - Khanna 23
![Page 24: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/24.jpg)
Latch Timing Issues
Penn ESE 570 Spring 2019 - Khanna 24
! tsu=time data (D) must be valid before CLK edge ! tplogic=worst case propogation delay of logic ! tc-p=worst case propogation delay of latch
![Page 25: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/25.jpg)
Latch Timing Issues
Penn ESE 570 Spring 2019 - Khanna 25
! tcdregister=minimum propogation delay of latch ! tcdlogic=minimum propogation delay of logic ! thold=time data (D) must stay valid after CLK edge
![Page 26: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/26.jpg)
Timing Example
Penn ESE 370 Fall 2018 - Khanna 26
![Page 27: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/27.jpg)
Timing Example
Penn ESE 370 Fall 2018 - Khanna 27
![Page 28: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/28.jpg)
Timing Example
Penn ESE 370 Fall 2018 - Khanna 28
![Page 29: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/29.jpg)
Timing Example
Penn ESE 370 Fall 2018 - Khanna 29
![Page 30: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/30.jpg)
Clocking Highlights
! Clock discipline simplifies logic composition " Abstracts many internal timing details " Just concerned with making clock period long enough
! Breaking logic up with registers allows circuit to run at high frequency " Inputs decoupled from outputs
! Design Discipline – keeping data stable around clock edge " Setup, hold time – determined by latch circuit " Worst case and minimum Clk#Q delay for latch
30 Penn ESE 370 Fall 2018 - Khanna
![Page 31: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/31.jpg)
31
CMOS SR Latch – NOR2
* *
Penn ESE 570 Spring 2019 – Khanna
![Page 32: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/32.jpg)
CMOS SR Latch – NOR2
32
basic cross-coupled inverter
pair
Penn ESE 570 Spring 2019 – Khanna
![Page 33: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/33.jpg)
CMOS SR Latch – NOR2
33
basic cross-coupled inverter
pair
Penn ESE 570 Spring 2019 – Khanna
![Page 34: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/34.jpg)
CMOS SR Latch – NOR2
34
basic cross-coupled inverter
pair
HOLD OP: S = 0, R = 0
Penn ESE 570 Spring 2019 – Khanna
![Page 35: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/35.jpg)
CMOS SR Latch – NOR2
35
basic cross-coupled inverter
pair
HOLD OP: S = 0, R = 0
Penn ESE 570 Spring 2019 – Khanna
![Page 36: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/36.jpg)
CMOS SR Latch – NOR2
36
basic cross-coupled inverter
pair
SET OP: S = 1, R = 0
![Page 37: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/37.jpg)
CMOS SR Latch – NOR2
37
basic cross-coupled inverter
pair
RESET OP: R = 1, S = 0
Penn ESE 570 Spring 2019 – Khanna
![Page 38: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/38.jpg)
38
CMOS SR Latch – NOR2
* *
“ACTIVE HIGH”
Penn ESE 570 Spring 2019 – Khanna
![Page 39: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/39.jpg)
39
CMOS SR Latch – NAND2
* *
“ACTIVE LOW” * *
Penn ESE 570 Spring 2019 – Khanna
![Page 40: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/40.jpg)
40
CMOS SR Latch – NAND2
basic cross-coupled inverter pair
Penn ESE 570 Spring 2019 – Khanna
![Page 41: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/41.jpg)
Synchronous Latches
41
NAND SR Latch NOTE: S and R are asynchronous.
CK
S’/R'
NAND SR LATCH
S/R
Penn ESE 570 Spring 2019 – Khanna
![Page 42: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/42.jpg)
Latch
42
Q =CLK ⋅Q+CLK ⋅ In
! Level-sensitive device ! Positive Latch
" Output follows input if CLK high
! Negative Latch " Output follows input if
CLK low
Penn ESE 570 Spring 2019 – Khanna
![Page 43: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/43.jpg)
43
D
CKCK
CK
CK
Static CMOS TG D-LATCH
Penn ESE 570 Spring 2019 – Khanna
![Page 44: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/44.jpg)
Static CMOS TG D-LATCH – 8 Transistors
44
8 Transistors
Penn ESE 570 Spring 2019 – Khanna
![Page 45: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/45.jpg)
45
Static CMOS TG D-LATCH
When CK = 1 output Q = D, and tracks D until CK = 0, the D-Latch is referred to positive level triggered.
When CK → 1 to 0, the Q = D is captured, held (or stored) in the Latch.
Penn ESE 570 Spring 2019 – Khanna
![Page 46: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/46.jpg)
D-LATCH Timing Requirements
46 Penn ESE 570 Spring 2019 – Khanna
![Page 47: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/47.jpg)
CMOS D Edge Triggered Flip-Flop
47
Positive Edge Triggered D Flip-Flop = Negative D-Latch + Positive D-Latch Negative Edge Triggered D Flip-Flop = Positive D-Latch + Negative D-Latch
Positive D-Latch
Negative D-Latch
NMOS PMOS
Penn ESE 570 Spring 2019 – Khanna
![Page 48: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/48.jpg)
Impact of Non-ideal Clock on D-Latch Operation
48
CLK
CLK
CLK ideal non-ideal
CLK & CLK
CLK + τD
CLK & CLK + τD
t t
NMOS PMOS
Penn ESE 570 Spring 2019 – Khanna
![Page 49: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/49.jpg)
t
t
ϕ1
ϕ2
Two-Phase Clocked D-Latch (non-overlapping)
49 ϕ2
ϕ1
ϕ1
ϕ2
ϕ1
ϕ2
NMOS PMOS
Penn ESE 570 Spring 2019 – Khanna
![Page 50: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/50.jpg)
Non-overlapping Clocks
! Play with in Cadence " Will need for project
Penn ESE 570 Spring 2019 - Khanna 50
![Page 51: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/51.jpg)
Sequential Logic Timing Considerations
Penn ESE 570 Spring 2019 - Khanna 51
![Page 52: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/52.jpg)
Timing Metrics
Penn ESE 570 Spring 2019 - Khanna 52
![Page 53: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/53.jpg)
System Timing Constraints
Penn ESE 570 Spring 2019 - Khanna 53
![Page 54: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/54.jpg)
Bistable Elements
! The cross-coupling of two inverters results in a bistable circuit (a circuit with two stable states)
! Have to be able to change the stored ! Two approaches used
" cutting the feedback loop (mux based latch) " overpowering the feedback loop (as used in SRAMs)
Penn ESE 570 Spring 2019 - Khanna 54
![Page 55: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/55.jpg)
Mux Based Latches
! Change the stored value by cutting the feedback loop
Penn ESE 570 Spring 2019 - Khanna 55
![Page 56: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/56.jpg)
PassT Implementation of Mux
Penn ESE 570 Spring 2019 - Khanna 56
![Page 57: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/57.jpg)
Tx Gate Implementation of Mux
Penn ESE 570 Spring 2019 - Khanna 57
![Page 58: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/58.jpg)
Controller/Controlled ET Flip Flop
Penn ESE 570 Spring 2019 - Khanna 58
Controller Controlled
![Page 59: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/59.jpg)
Controller/Controlled Implementation
Penn ESE 570 Spring 2019 - Khanna 59
Controller Controlled
![Page 60: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/60.jpg)
Controller/Controlled Implementation
Penn ESE 570 Spring 2019 - Khanna 60
Controller Controlled
Controller transparent Controlled hold
Controller hold
Controlled transparent
![Page 61: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/61.jpg)
Timing Properties
! Assume propagation delays are tpd_inv and tpd_tx, and that the inverter delay to derive !clk is 0
! Set-up time - time before rising edge of clk that D must be valid " tsu = 3 * tpd_inv + tpd_tx
! Propagation delay - time for QM to reach Q " tc-q = tpd_inv + tpd_tx
! Hold time - time D must be stable after rising edge of clk " thold = zero
Penn ESE 570 Spring 2019 - Khanna 61
![Page 62: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/62.jpg)
Setup Time Simulation
Penn ESE 570 Spring 2019 - Khanna 62
![Page 63: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/63.jpg)
Setup Time Simulation
Penn ESE 570 Spring 2019 - Khanna 63
![Page 64: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/64.jpg)
System Timing Constraints
Penn ESE 570 Spring 2019 - Khanna 64
![Page 65: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/65.jpg)
Dynamic Logic
65 Penn ESE 570 Spring 2019 – Khanna
![Page 66: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/66.jpg)
Logic Comparison Overview
66 Penn ESE 570 Spring 2019 – Khanna
DYNAMIC LOGIC GATES: valid logic level are not steady-state op points and depend on temporary storage of charge on parasitic node capacitances. Outputs are generated in response to input voltage levels and a clock. Requires periodic updating or refresh.
![Page 67: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/67.jpg)
Logic Comparison Overview
67 Penn ESE 570 Spring 2019 – Khanna
DYNAMIC LOGIC GATES: valid logic level are not steady-state op points and depend on temporary storage of charge on parasitic node capacitances. Outputs are generated in response to input voltage levels and a clock. Requires periodic updating or refresh.
CSM1
BL
WL
CBL
WL
X
BL
VDD−VT
VDD/2
VDD
GND
Write "1" Read "1"
sensingVDD/2
ΔV VBL VPRE– VBIT VPRE–( )CS
CS CBL+------------------------= =
Write: CS is charged or discharged by asserting WL and BL.Read: Charge redistribution takes places between bit line and storage capacitance
Voltage swing is small; typically around 250 mV.
bit bit_b
N1
N2P1
A
P2
N3
N4
A_b
word
![Page 68: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/68.jpg)
Comparison of Logic Implementations
68
Y
Ratioed
Penn ESE 570 Spring 2019 – Khanna
![Page 69: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/69.jpg)
Comparison of Logic Implementations
69
Y
Ratioed
Penn ESE 570 Spring 2019 – Khanna
![Page 70: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/70.jpg)
Comparison of Logic Implementations
70
Y
Ratioed
Penn ESE 570 Spring 2019 – Khanna
![Page 71: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/71.jpg)
Comparison of Logic Implementations
71
Y
Ratioed
1
1
1
VDD more robust
Penn ESE 570 Spring 2019 – Khanna
![Page 72: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/72.jpg)
Dynamic CMOS Precharge
72
VDD
A
CK
Mp
Me
Z
Penn ESE 570 Spring 2019 – Khanna
![Page 73: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/73.jpg)
Dynamic CMOS Precharge
73
Z
Z
of C is complete
Penn ESE 570 Spring 2019 – Khanna
![Page 74: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/74.jpg)
Dynamic (Clocked) Logic: Example
74
CK = 0 => Z = ? CK = 1 => Z = ?
Penn ESE 570 Spring 2019 – Khanna
![Page 75: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/75.jpg)
Comparison of Static and Dynamic Logic
75
ADVANTAGES ?
DISADVANTAGES ?
Penn ESE 570 Spring 2019 – Khanna
![Page 76: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/76.jpg)
76
Comparison of Static and Dynamic Logic
Penn ESE 570 Spring 2019 – Khanna
![Page 77: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/77.jpg)
77
Comparison of Static and Dynamic Logic
Penn ESE 570 Spring 2019 – Khanna
![Page 78: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/78.jpg)
Cascaded Dynamic Logic
78 Penn ESE 570 Spring 2019 – Khanna
![Page 79: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/79.jpg)
Cascaded Dynamic Logic
79 Penn ESE 570 Spring 2019 – Khanna
![Page 80: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/80.jpg)
Cascaded Dynamic Logic
80 Penn ESE 570 Spring 2019 – Khanna
![Page 81: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/81.jpg)
Cascaded Dynamic Logic
81 Penn ESE 570 Spring 2019 – Khanna
![Page 82: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/82.jpg)
Domino Logic
82 Penn ESE 570 Spring 2019 – Khanna
![Page 83: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/83.jpg)
Requirements
! Single transition " Once transitioned, it is done # like domino falling
! All inputs at 0 during precharge " ‘Outputs’ pre-charged to 1 then inverted to 0
" I.e. Inputs are pre-charge to 0
! Non-inverting gates
83 Penn ESE 570 Spring 2019 – Khanna
![Page 84: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/84.jpg)
Cascaded Domino CMOS Logic Gates
84 Penn ESE 570 Spring 2019 – Khanna
![Page 85: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/85.jpg)
Cascaded Domino CMOS Logic Gates
85
propagating
Penn ESE 570 Spring 2019 – Khanna
![Page 86: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/86.jpg)
Cascaded Domino CMOS Logic Gates
86
propagating
Penn ESE 570 Spring 2019 – Khanna
![Page 87: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/87.jpg)
Ideas
! Synchronize circuits " to external events (eg. Clk) " disciplined reuse of circuitry
! Leads to clocked circuit discipline " Uses state holding element (eg. Latches and registers) " Prevents
" Timing assumptions " (More) complex reasoning about all possible timings
! Dynamic/clocked logic " Only build/drive one pulldown network " Fast transition propagation " Domino Logic allows for cascading
87 Penn ESE 570 Spring 2019 – Khanna
![Page 88: ESE 570: Digital Integrated Circuits and VLSI Fundamentalsese570/spring2019/handouts/lec19.pdfClasses of Logic Circuits 4 two stable op. pts. Latch – level triggered. Flip-Flop –](https://reader036.fdocuments.in/reader036/viewer/2022070823/5f2e4bc3c0a2633a9b14a776/html5/thumbnails/88.jpg)
Admin
! HW 7 due 4/5
88 Penn ESE 570 Spring 2019 – Khanna