[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [oc] Delay and latency ?



Aloha!

saumil merchant wrote:
> Hey !
> Can anybody throw some light on difference between delay and latency ?

In HW design it works like this:

Latency is the number of clock cycles required to perform a certain task. For 
example stepping through the stages of a data path.

Delay is the physical time (normally measured in ns) for something. For 
example the delay through a gate, setup time for an I/O, arrival time on an 
input etc.

After mapping a design to a specific technology, the maximum delay yields the 
cycle time needed to propagate the inputs through a combinational net and get 
a stable output that can be sampled by the next register/latch.

For a mapped design you therefore get the maximum frequency as a function of 
the delay. The latency as a number of cycles and by multiplying cycled with 
delay, the physical time to do the calculation. And finally, the throughput as 
the latency (in cycles) times the frequency.

Rule to remember: RTL does not know about delay, only latency.
-- 
Med vänlig hälsning, Yours

Joachim Strömbergson - Alltid i harmonisk svängning.
VP, Research & Development
----------------------------------------------------------------------
InformAsic AB / Hugo Grauers gata 5B / SE-411 33 GÖTEBORG / Sweden
Tel: +46 31 68 54 90  Fax: +46 31 68 54 91  Mobile: +46 733 75 97 02
E-mail: joachim.strombergson@informasic.com  Home: www.informasic.com
----------------------------------------------------------------------


--
To unsubscribe from cores mailing list please visit http://www.opencores.org/mailinglists.shtml