lecture 4&5 cmos circuitslecture 4&5 cmos circuits . worst-case v ol 2 . outline...
TRANSCRIPT
![Page 1: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/1.jpg)
Xuan ‘Silvia’ Zhang Washington University in St. Louis
http://classes.engineering.wustl.edu/ese566/
Lecture 4&5 CMOS Circuits
![Page 2: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/2.jpg)
Worst-Case VOL
2
![Page 3: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/3.jpg)
Outline
Combinational Logic (Delay Analysis) Sequential Circuits Memory
3
![Page 4: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/4.jpg)
RC Delay
• Lumped Model – C only – RC model
4
![Page 5: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/5.jpg)
Elmore Delay Formula
• Assumptions regarding the RC network – the network has a single input node – all the capacitors are between a node and the ground – the network does not contain any resistive loops (tree)
• Unique resistive path – path resistance – shared path resistance
5
![Page 6: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/6.jpg)
Example: RC Ladder/Chain
6
What if distributed?
![Page 7: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/7.jpg)
Distributed RC Line
7
![Page 8: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/8.jpg)
Calculate Wire Delay
• Rule of Thumb – RC delay should only be considered when tpRC>>tpgate
– RC delay should only be considered when the rise/fall time at the line input is smaller than RC: trise<RC
8
![Page 9: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/9.jpg)
Inverter Propagation Delay
• Simplified switch model – find equivalent resistance
– apply RC delay
9
![Page 10: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/10.jpg)
Minimize Inverter Delay
• Reduce CL – keep the drain diffusion areas as small as possible
• Increase W/L ratio – will minimize the delay until intrinsic capacitance
dominate è “self-loading”
• Increase VDD – reliability concerns
• NMOS/PMOS ratio
10
![Page 11: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/11.jpg)
Sizing Inverter for Performance
• Inverter delay model
• Size scaling factor (S)
11
![Page 12: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/12.jpg)
Sizing Inverter Chain
• Intrinsic delay
• Inverter delay chain
12
![Page 13: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/13.jpg)
Optimal Number of Inverters in the Chain
13
![Page 14: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/14.jpg)
Examples: Inverter Sizing and Delay
14
![Page 15: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/15.jpg)
Propagation Delay of Complex Logic Gates
• Depend on inputs
• Internal cap matters
15
![Page 16: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/16.jpg)
Sizing Combinational Network for Performance
• Inverter delay • Complex logic delay
– p: ratio of the intrinsic (unloaded) delay of the complex gate and the simple inverter. Affected by both topology and layout style
– g: logic effort – f: electrical effort
16
![Page 17: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/17.jpg)
Logic Effort (g)
• For a given capacitive load, complex gates have to work harder than an inverter to produce similar response
17
![Page 18: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/18.jpg)
Optimal Sizing of Combinational Network
• Gate effort – h=fg
• Optimal delay condition
18
![Page 19: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/19.jpg)
Outline
19
![Page 20: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/20.jpg)
Level-Sensitive Latch
20
![Page 21: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/21.jpg)
SR Latch
• Basic NOR latch
21
S (set)
R (reset) Q
Q
S
R
0
0
not allowed
Q
Q
1
0
tpd
set
reset
unstable No change
![Page 22: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/22.jpg)
Other SR Latches
• Clocked
• NAND SR latch
22
1
2
Q
Q
S
R
Clk
Q S (set)
R (reset) Q
S
R
C
Q
Q
S
R
![Page 23: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/23.jpg)
Edge-Sensitive Flip-Flop
23
![Page 24: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/24.jpg)
Outline
Combinational Logic (Delay Analysis) Sequential Circuits Memory
24
![Page 25: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/25.jpg)
Static RAM
• Applications – CPU register file, cache, embedded memory, DSP
• Characteristics – 6 transistor per cell, other topologies – no need to refresh – access time ~ cycle time – no charge to leak – faster, more area, more expensive
25
![Page 26: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/26.jpg)
SRAM Operation
• Standby – word line de-asserted
• Read – precharge bit lines – assert WL – BL rise/drop slightly
• Write – apply value to BL – assert WL – input drivers stronger
26
![Page 27: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/27.jpg)
SRAM Architecture
27
source: semiengineering.com
![Page 28: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/28.jpg)
Multi-Bank Layout
28
source: semiengineering.com
![Page 29: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/29.jpg)
Questions?
Comments?
Discussion?
29
![Page 30: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/30.jpg)
Homework #3
• Posted on class website • Due on 2/6 at 2:30pm • Solution will be posted on 2/5 evening • Use it as an exercise to prepare for exam • Will release excerpts from textbook on
BlackBoard
30
![Page 31: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/31.jpg)
In-Class Exam
• 2/6 in the lecture room • Starts at 2:40pm and ends at 4:00pm • Designed to be completed in 60min • 75% material similar to HW0 and HW1 • 25% material similar to HW2 and HW3
31
![Page 32: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/32.jpg)
Design Tool Tutorials
• Standard-cell based design flow
32
![Page 33: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/33.jpg)
Design Tool Tutorials
• Functional Simulation – tool: Synopsys VCS – simulate your HDL (eg. Verilog) code to verify
functionality
• Logic Synthesis – tool: Synopsys Design Compiler (DC) – convert/synthesize behavioral/RTL level HDL to gate-
level netlist (i.e. connectivity list)
• Physical Design (Place & Route) – tool: Cadence Encounter – given the gate-level netlist, place and route the design
to complete an IC chip in its final physical form
33
![Page 34: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/34.jpg)
Lab1: Design Tool Tutorials
• Will be posted on 2/7 before the Wed lecture • TA will give hand-on introduction on 2/8 • Please bring your laptop • Please set up your SEAS account • Please send your Github ID to Yunfei • Please walk through the Linuxlab tutorial • Please read Lab1 before the lecture, so you can
ask questions • Due on 2/22 at 2:30pm
34
![Page 35: Lecture 4&5 CMOS CircuitsLecture 4&5 CMOS Circuits . Worst-Case V OL 2 . Outline Combinational Logic (Delay Analysis) Sequential Circuits Memory 3 . RC Delay • Lumped Model – C](https://reader030.vdocuments.site/reader030/viewer/2022041101/5eda904d5f8d0d7f302a5590/html5/thumbnails/35.jpg)
Acknowledgement
Jan Rabaey, “Digital Integrated Circuits”, 2006 Cornell University, ECE 5745
35