mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +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.
24 lines
352 B
Verilog
24 lines
352 B
Verilog
module \esc.mod ;
|
|
\esc.sub \esc.inm (1'b1);
|
|
sub inst();
|
|
endmodule
|
|
|
|
module \esc.sub (input wire \esc.port );
|
|
reg \esc.val ;
|
|
reg normal;
|
|
initial begin
|
|
$print_if_found();
|
|
normal = 1'b0;
|
|
\esc.val = 1'b1;
|
|
end
|
|
endmodule
|
|
|
|
module sub;
|
|
reg \esc.id ;
|
|
reg normal;
|
|
initial begin
|
|
normal = 1'b1;
|
|
\esc.id = 1'b0;
|
|
end
|
|
endmodule
|