Docsity

Understanding Quartus II Timing Analyzer Tool & Parameters for Digital Systems Timing, Assignments of Microprocessors

Toggle sidebar
bg1
Laboratory Assignment #7
Digital Systems Timing and
The
Quartus
II Classic Timing Analyzer Tool
The
Quartus
II Classic Timing Analyzer Tool
Spring 2009
ECE 371: Microprocessor Systems
Department of Electrical and Computer Engineering
School of Engineering, Mathematics, and Science
Purdue University โ€“ Calumet
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Understanding Quartus II Timing Analyzer Tool & Parameters for Digital Systems Timing and more Assignments Microprocessors in PDF only on Docsity!

Laboratory Assignment

Digital Systems Timing and

The^ Quartus

II Classic Timing Analyzer Tool

The^ Quartus

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

Combinational and Sequential Logic Timing Parameters โ€ข Combinational Logic Timing โ€“ Propagation Delay

(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

FF Timing Parameters Illustrated^ clk D^ Q

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<^ CLOCK^

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

)CL

-^ 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<^ CLOCK^

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

max(tPD

) = max(Pin-to-Pin Delay)

min(t^

) = min(Pin

  • to-Pin Delay) -^ Minimum/Maximum time required for signal from input pin^ to propagate through comb. logic and appear at external^ output pin โ€ข^ Equations

min(tPD

) = min(Pin

  • to-Pin Delay)

Link:^ http://www.altera.com/literature/hb/qts/qts_qii53004.pdf