Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
e911119afa19222dc9bbad9ba934f3d965e34302
/
.
/
SVIncCompil
/
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