集成电路时序分析资料
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
5
DFF TiFra Baidu biblioteking
• Propagation Delay
– C2Q: Q will change some propagation delay after change in C. Value of Q is based on D input for DFF.
– S2Q, R2Q: Q will change some propagation delay after change on S input, R input
BR 1/99
3
Propagation Delay Definitions
• Tplh -- time between a change in an input and a low to high change on the output. Measured from 50% point on input signal to 50% point on the output signal. The ‘lh’ part (low to high) refers to OUTPUT change, NOT input change
Tpd max
Tsetup
D KQ
CK
C2Q delay = Tc2q + Tpd max + Tsetup
BR 1/99
11
Hold Time and Shortest Paths
D NQ
CN
Combinational Logic
Tpd min
Thold
D KQ
CK
C2Q
To satisfy hold time:
• Hold Time: the amount of time the synchronous input (D) must be stable after the active edge of clock.
BR 1/99
7
Setup, Hold Time tsu thd
C
D changing
Stable
Very often, all inputs and outputs are registered. Then registerto-register delay will almost always determine maximum frequency.
D NQ
CN
Combinational Logic
D changing
If changes on D input violate either setup or hold time, then correct FF operation is not guaranteed.
Setup/Hold measured around active clock edge.
Din Hold = Thd + Tpd CLK (max) - Tpd DIN (min)
BR 1/99
16
1 ns A
A Timing Example
U7 U1 DQ C
7 ns
U2
DQ
U4
C
CK U8 2 ns
U3 8 ns
U5 U6 Y
6 ns 9 ns
DFFs : Tsu = 3 ns Thd = 4 ns Tc2q = 5 ns
What about setup time?
0 Tc2q + Tpd (min) >= Thold
Tcq > Thold assuming zero wire delay
BR 1/99
13
Setup, Hold Time for External Inputs
External inputs are buffered through pad drivers and may go through combinational logic before they reach a synchronous input. This buffering adds propagation delay. How does this propagation delay affect the EXTERNAL setup and hold time????
DIN Thd, Tsu
CLK
Comb Log Comb Log
Thd, Tsu D Q
C
ASIC Y
What is Thd, Tsu for DIN? It is NOT the same as for Thd,
Tsu of the internal D FF!!!!!!! Thd, Tsu for DIN is
– Note that there is NO propagation delay D2Q for DFF!
– D is a Synchronous INPUT, no prop delay value for synchronous inputs
BR 1/99
S D
Q C R
6
Setup, Hold Times
BR 1/99
1
Propagation Delay (inverting)
A
Y
Signal rise time
H A
L tphl
H Y
L
Signal fall time tplh
BR 1/99
2
Propagation Delay (non inverting)
H Y
A
H
A L
tplh
tphl
H
Y L
For simplicity, may just assign one delay for entire gate: Y_tpd
Databooks give typical and maximum propagation delays for combinational outputs.
BR 1/99
BR 1/99
17
Timings
Max Register to Register Delay U2 Tc2q + U3 Tpd + U1 Tsu = 5 + 8 + 3 = 16 ns.
A setup time = Tsu + A2D Tpd max - Clk Tpd min = Tsu + (Tpd U3 + Tpd U7) - Tpd U8 = 3 + (8 + 1) - 2 = 10 ns
• Synchronous inputs (e.g. D) have Setup, Hold time specification with respect to the CLOCK input
• Setup Time: the amount of time the synchronous input (D) must be stable before the active edge of clock
specified in the DATASHEET for design.
BR 1/99
14
Calculating External Setup times
DIN CLK
Tpd DIN
Comb Log Comb Log Tpd Clk
Tsu D Q
C
ASIC
Worst case setup time for DIN occurs when ‘DIN’ is DELAYED relative to CLK. Means clock edge arrives early, requiring DIN to be ready sooner.
Gate Delay
• Transistors within a gate take a finite amount of time to switch. This means that a change on the input of a gate takes a finite amount of time to cause a change on the output.
Tc2q + Tpd (minimum) >= Thold
This is normally easily satisfied in a sequential system.
BR 1/99
12
Toggle Frequency
D Q
C
toggle frequency = 1 /(C2Q + Tsetup) assume wire delay is neglible
A hold time = Thd + Clk Tpd max - A2D Tpd min = Thd + Tpd U8 - (Tpd U4 + Tpd U7) = 4 + 2 - (7 + 1) = -2 ns
BR 1/99
8
Sequential System Timing
n
k-bit Present State
Value
Combinational Logic Circuit
k
DFF QD
k
m
k-bit Next State
Value
clk
Question: What is the MAXIMUM frequency of operation of this system?
Din Setup = Tsu + Tpd DIN (max) - Tpd CLK (min)
BR 1/99
15
Calculating External Hold times
DIN CLK
Tpd DIN
Comb Log Comb Log Tpd Clk
Tsu D Q
C
ASIC
Worst case hold time for DIN occurs when ‘CLK’ is DELAYED relative to DIN. Means clock edge arrives late, requiring DIN to hold its value longer.
C. Pin to Pin combinational delay: Tcomb_I2O max (input pin to output pin, no intervening registers)
Typically, path “B” is the worst case.
BR 1/99
10
Inputs/Outputs Registered
• This time is known as Propagation Delay • Smaller transistors means faster switching times.
Semiconductor companies are continually finding new ways to make transistors smaller, which means transistors are faster, and more can fit on a die in the same area.
BR 1/99
4
Propagation Delay (non inverting)
B Y
A
Each Input to Output path has its own delay:
A2Y_tplh, A2Y_tphl, B2Y_tplh, B2Y_tphl
These delays can be different.
Maximum Frequency = 1/ (longest delay path)
What are longest paths???
BR 1/99
9
Longest Paths in Sequential System Diagram
Paths to check: A. Clock to Output delay: Tc2q + Tcomb_Q2O max
• Tphl -- time between a change in an input and a high to low change on the output. Measured from 50% point on input signal to 50% point on the output signal. The ‘hl’ part (high to low) refers to OUTPUT change, NOT input change
Tcomb_Q2O is longest path from Q output to any output
B. Register to Register delay: Tc2q + Tcomb_Q2D max + Tsetup Tcomb Q2D is longest path from Q dff output to D dff input