09-24-2009 07:13 PM
I am trying to set the timing resolution of the ISim, currently it is at 1ps and I wish to change it to 1ns.
After reading a thread in this group i used the following comman in the simulation properties other compiler options field:
"-timescale 1ps/1ns -override_timeprecision" (without quotes, Right Click "Simulate Behavioral Model" --> Properties --> Advanced)
but I get the following error:
ERROR:Simulator:834 - "N:/L.57/rtf/verilog/src/unisims/ODDR2.v" Line 24. The time unit (1ps) for the module (ODDR2(INIT=1'b1)) is less than the time precision (1ns).
I looked it over google and also on the asnwers link on Xilinx but couldnt find any reference.
Any bit of help is highly appreciated. Thanks in advance!!
06-16-2010 07:48 AM
It looks like Shax's simulator error is due to the reversal of the 1ps and 1ns precision and unit args.
"-timescale 1ps/1ns -override_timeprecision"
Correct usage for 1ns unit, 1ps precision:
"-timescale 1ns/1ps -override_timeprecision"
What still isn't clear to me is whether "timing resolution" is referring to time precision or the time unit?