Sign in
◑
Theme
foss-fpga-tools
/
third_party
/
Surelog
/
3d0b312bbe3d5a7d8e6f3fe11c6d3f28b980190e
/
.
/
SVIncCompil
/
Testcases
/
Google
/
chapter-20
/
20.8--floor.sv
blob: c34c3239e5f8202a168a2bb0d83b102b12ada742 [
file
]
/*
:name: floor_function
:description: $floor test
:should_fail: 0
:tags: 20.8
:type: simulation parsing
*/
module
top
();
initial
begin
$display
(
":assert: (%f == 2)"
,
$floor
(
2.1
));
end
endmodule