









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










II Classic Timing Analyzer Tool^ Spring 2009
ECE 371: Microprocessor Systems Department of Electrical and Computer EngineeringSchool of Engineering, Mathematics, and Science
Purdue University โ Calumet
Digital System Timing
(t)CL
-^ Also called
inertial delay
-^ Time for input state-change to (possibly) cause output state-change โข^ Usually consider both
min(t)^ andCL
max(t)CLCL CL
-^ Flip-Flop Timing^ โ^ Setup Time
(t)SU
-^ Minimum time FF input(s) must be stable before clock transition โ Hold Time
(t)H
-^ Minimum time FF input(s) must be stable after clock transition โ Propagation Delay
(t)CLK-2-Q
-^ Time for FF input state-change to (possibly) cause a FF output state-change after clock transition
D^ Q clk
D must remain stableduring tand tSU^
H
D can freely changeduring this interval
ttSU^ H
tCLK-2-Q
Propagation delay ofa flip-flop: time from clk to Q
Not Violating FF Setup & Hold Times
D^ Q clk Clock
D^ Q clk CombLogic tCLK-2-Q^
tCL^
tSU
Clock
Clock Period T
CLOCK tH
-^ Violate Setup Time when
t+^ CLK-2-Q^
t+^ tCL^ SU
-^ Fix Setup Time issues by increasing
Tor decreasingCLOCK^
tCL
-^ Violate Hold Time when
t>^ tH^ CLK-2-Q
+^ t CL
-^ Canโt fix hold time issues by increasing/decreasing
TCLOCK
-^ Fix hold time issues by increasing
tusing buffersCL^
Digital System Timing Smallest Clock Period and Highest Clock Frequency
-^ Minimum Clock Period
(min(TCLOCK
-^ Smallest clock period allowable to operate a digital system withoutcausing any setup time violations โ^ Obtained by finding the critical path of digital system
min(TCLOCK
) =^ t= max(all path delay times)CP^ min(TCLOCK
) =^ t= max(all path delay times)CP^
-^ Maximum Clock Frequency
(f)MAX
-^ Fastest clock frequency allowable to operate a digital system withoutcausing any setup-time violations โ^ Obtained by taking the inverse of min(
T)CLOCK
f= (min(TMAX^
-1^ ))= (tCLOCK -1^ )= max(all path delay times)CP
Digital System Timing Some Reasons for Combinational Logic Delay
-^ Path Delay^ โ^ tpath
=^ t+ CLK-2-Q^ t+^ tCL^ SU
-^ tandCLK-2-Q^
tusually fixed for FFs, soSU^
tmostly influenced bypath^
tCL
-^ Critical path (
t) largely a function ofCP
tCL
-^ Combinational Logic Delay (t
-^ Influenced by prop. delay through gatesโ^ Influenced by prop. delay through gates^ โข^ Gates Levels
(more gate levels โ more delay)
-^ Single Gate Delays
(larger gate delay โ more delay)
-^ Fan-in (# of gate Inputs) โ^ Fan-out (# of gates connected to output) โ^ Capacitance โ Influenced by interconnect (wire) delay โข Length^ (longer wires โ more delay) โข Fan-out^ (larger fan-out โ more delay) โข Currently, wire delay causes 45%-65% of total t
CL
Leading Skew Can Cause
tViolationsSU^
D^ Q clk
D^ Q clk' ComboLogic ttCLK-2-Q CL clk^
tSU
clk'
CLOCK PERIOD T
tskew CLOCK
-^ Violate Setup Time when
t+^ CLK-2-Q^
t+^ t+ tCL^ SU^
skew
-^ Fix Setup Time issues by^ โ^ increasing
TdecreasingCLOCK,^
tor decreasingCL,^
tskew
D^ Q clk
D^ Q clk' ComboLogic t tCLK-2-Q CL
Lagging Skew Can Cause
tViolationsH^
clk^ clk'
ttskew^ H^ CLOCK PERIOD T
CLOCK
-^ Violate Hold Time when
t>^ tH^ CLK-2-Q
+^ t- t CL^ skew
-^ Second FF is fed data 1-cycle early (called
feed through
)
-^ Fix Hold Time issues by^ โ^ Increasing
t(use buffers) or decreasingCL^
tskew
I/O Clock Setup Time (t
)SU
t= max(Data Delay) โ min(Clock Delay) + Micro tSU^
of reg.SU
-^ Length of time data must be stable at external input pin
prior
to a clock edge on associated I/O clock pin. โข Equation โข Note: Micro
tis the setup time of the internal registerSU^ Link:^ http://www.altera.com/literature/hb/qts/qts_qii53004.pdf
I/O Clock Hold Time (t
)H
t= max(Clock Delay) โ min(Data Delay) + Micro tH^
of reg.H
-^ Length of time data must be stable on an external input pin^ after a clock edge on associated clock I/O pin โข^ Equation โข^ Note: Micro
tis the hold time of the internal registerH^ Link:^ http://www.altera.com/literature/hb/qts/qts_qii53004.pdf
I/O Min/Max Pin-to-Pin Delay (t
)PD
Link:^ http://www.altera.com/literature/hb/qts/qts_qii53004.pdf