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