Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
e911119afa19222dc9bbad9ba934f3d965e34302
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
backends
/
write_firrtl_sub
/
top.v
blob: 98006e8e06c40d9f42870eab863f5b944f335978 [
file
] [
log
] [
blame
]
module
top
(
input x
,
input y
,
input cin
,
output A
,
output cout
);
`ifndef BUG
assign cout = cin % y;
assign A = cin - x;
`
else
assign
{
cout
,
A
}
=
cin
-
y
*
x
;
`endif
endmodule