mirror of https://github.com/zachjs/sv2v.git
13 lines
247 B
Verilog
13 lines
247 B
Verilog
|
|
module top;
|
||
|
|
reg flag;
|
||
|
|
wire [1:0] out;
|
||
|
|
Example example(flag, out);
|
||
|
|
initial begin
|
||
|
|
$monitor("%2d %b %b", $time, flag, out);
|
||
|
|
#1 flag = 0;
|
||
|
|
#1 flag = 1;
|
||
|
|
#1 flag = 0;
|
||
|
|
#1 flag = 1;
|
||
|
|
end
|
||
|
|
endmodule
|