Aug 29, 2005 #1 P prshanth dk Newbie level 1 Joined Aug 29, 2005 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,288 please can anyone explain the use of writing `timescale 1ns/1ps in verilog am in learning stage regards advance thnx
please can anyone explain the use of writing `timescale 1ns/1ps in verilog am in learning stage regards advance thnx
Aug 29, 2005 #2 J joc_06 Member level 2 Joined Nov 28, 2003 Messages 51 Helped 7 Reputation 14 Reaction score 4 Trophy points 1,288 Activity points 478 timescale verilog `timescale is used for specifying reference time unit for simulator. example : `timescale 10ns/1ns normally it is used in testbanch top level only and tells all subsequent hard coded delays how long to wait for etc. #5 , now means wait for 50ns etc google would tell you this
timescale verilog `timescale is used for specifying reference time unit for simulator. example : `timescale 10ns/1ns normally it is used in testbanch top level only and tells all subsequent hard coded delays how long to wait for etc. #5 , now means wait for 50ns etc google would tell you this
Aug 29, 2005 #3 M MRFGUY Full Member level 1 Joined Sep 16, 2003 Messages 98 Helped 9 Reputation 18 Reaction score 3 Trophy points 1,288 Activity points 1,049 timescale 1ns 1ps mean : timescale <reference_time>/ <precision> Your simulation will run until reference_time (1ns) with precision mention in <precision> (1ps).
timescale 1ns 1ps mean : timescale <reference_time>/ <precision> Your simulation will run until reference_time (1ns) with precision mention in <precision> (1ps).
Aug 29, 2005 #4 N nand_gates Advanced Member level 3 Joined Jul 19, 2004 Messages 899 Helped 175 Reputation 350 Reaction score 53 Trophy points 1,308 Activity points 7,037 time scale in verilog `timescale 1ns/1ps means ur time scale is ns with resolution OR least count of 1ps #1 ; // 1ns delay #0.001; // 0.001 ns this is the minimum delay you can have with this time scale! #0.0001; // this will give 0 ns delay!! Hope these example helps you understand the verilog timescale!!
time scale in verilog `timescale 1ns/1ps means ur time scale is ns with resolution OR least count of 1ps #1 ; // 1ns delay #0.001; // 0.001 ns this is the minimum delay you can have with this time scale! #0.0001; // this will give 0 ns delay!! Hope these example helps you understand the verilog timescale!!
Sep 2, 2005 #5 W wjx197733 Member level 2 Joined Sep 21, 2004 Messages 53 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Activity points 476 timescale in verilog OK, I have the same question, and now, I see