Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
3f4e38faba84ce292e5f05601b70dd598f686411
/
.
/
SVIncCompil
/
Testcases
/
Icarus
/
ivltests
/
negvalue.v
blob: 47211a09fa86e9b4eb2cad937ba209097ea11722 [
file
] [
log
] [
blame
]
module
negvalue
;
reg
[
7
:
0
]
reg1
;
initial
begin
reg1
<=
-
13
+
21
;
#1
reg1
<=
0
-
13
+
21
;
end
always@
(
reg1
)
begin
$display
(
"%d (should be 8)"
,
reg1
);
end
endmodule