Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What does the precision value in Verilog Timescale represent?

Status
Not open for further replies.

verma.ind

Junior Member level 2
Joined
Mar 5, 2007
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,416
When we define `timescale 1ns/1ps
1ns represents the reference time and 1ps as precision value

This reference time is for simulation and delays, but
what that precision time represents in simulation and delays?

Thanks
 

timescale verilog

`timescale 1ns/1ps
means
Whatever times you mensioned in verilog code
will be taken in ns.
eg.
#22; //22 ns
Resolution of 1ps means
you can have
#0.001; // 0.001 ns / 1ps as smallest representation of the time.
#0.000123; // this means 0 ns
 
timescale in verilog

is this also related to sampling of input means if u have pulse of less than resolution time, then the simulator will not sample that value?
 

verilog timescale

Yes exactly if u have pulse of less than resolution time, then the simulator will not sample that value ,resolution is the smallest time unit which you can see on the simulator.

Added after 3 minutes:

one example for your understanding

like we have to collect Rs100 and the smallest value of RS should be Rs 1.So if you give 50 paise you will noy count it in RS 100.
1ns/1ps is similar to 100/1
Hope you got the concept.
 

`timescale verilog

1ns for reference time and 10ps for precision time
 

timescale 1ns 1ps

Thank's alot guys....I was wondering abt this qsn...from 6 months...now u people have cleared my doubt.

THANKS A LOT
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top