Daku
Guest
Sat Aug 07, 2010 7:23 pm
I am using Icarus Verilog 0.9.1. May I know if it supports picosecond
timescales, for example, `timescale 1ps/1ps ?? Thanks in advance for
your help.
Cary R.
Guest
Sat Aug 07, 2010 8:39 pm
Daku wrote:
Quote:
I am using Icarus Verilog 0.9.1. May I know if it supports picosecond
timescales, for example, `timescale 1ps/1ps ?? Thanks in advance for
your help.
I must admit I find this a very bizarre question. Have you actually
tried this and if so what was the unexpected result? If you haven't
tried this then why are you asking here instead of trying an example first?
To answer your question, I don't have the old 0.9.1 release installed on
my laptop but the following code works as expected using both V0.9 or
development from git. Icarus should completely support the traditional
time unit/precision control and development also supports the System
Verilog additions when the appropriate flag is passed to iverilog.
`timescale 1ps/1ps
module top;
initial $printtimescale;
endmodule
This should say that both the time unit and precision for top is 1ps.
Cary