11 lines
197 B
Coq
11 lines
197 B
Coq
|
|
module test;
|
||
|
|
initial
|
||
|
|
begin: A1
|
||
|
|
reg[1:0] v2;
|
||
|
|
v2 = 2'b0z;
|
||
|
|
$write(
|
||
|
|
"expected 1; got %0b\n",
|
||
|
|
(($signed(v2) === 1'sbx) || ($signed(v2 + 1'b1) === 1'sbx)));
|
||
|
|
end
|
||
|
|
endmodule
|