Does Icarus Verilog support picosecond timescale ?

D

Daku

Guest
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.
 
Daku wrote:
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
 

Welcome to EDABoard.com

Sponsor

Back
Top