mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-07 11:51:38 +02:00
By adding ivtest to the iverilog source tree, it is easier to keep the regression test synchronized with the source that is being tested. This should be especially helpful for PRs that add a new feature, and have a matching ivtest PR with the regression test for that feature.
15 lines
238 B
Verilog
15 lines
238 B
Verilog
`timescale 1us/1us
|
|
module top_timescale;
|
|
initial begin
|
|
$printtimescale(top_timescale);
|
|
$printtimescale(top_timescale2);
|
|
end
|
|
endmodule
|
|
|
|
`resetall
|
|
`timescale 1ns/1ns
|
|
module top_timescale2;
|
|
reg a;
|
|
initial a = 1'b1;
|
|
endmodule
|