Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
356a4bf2123fc606ca19fbed9b9c535f149fdec5
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
backends
/
write_firrtl_mul
/
top.v
blob: 932dc9be4ae4eddd306d5a3f7b14166544087f63 [
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