Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
4a79a47b7dd03dd4b2776ee40322b0149935d234
/
.
/
src
/
Testcases
/
Google
/
chapter-11
/
11.7--unsigned_func.sv
blob: 8aaf56af5b9018decd70f23c5bd93998045f435f [
file
] [
log
] [
blame
]
/*
:name: unsigned_func
:description: $unsigned() test
:should_fail: 0
:tags: 11.7
*/
module
top
();
logic
[
7
:
0
]
a
;
initial
begin
a
=
$unsigned
(-
4
);
end
endmodule