Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
a50fc0da15e88d7b685f92dc843d3d71b716c8a4
/
.
/
src
/
Testcases
/
YosysTests
/
architecture
/
synth_ice40_fulladder
/
top.v
blob: 6eefe49744d77a5afb6db409c19a303b4774c60d [
file
] [
log
] [
blame
]
module
top
(
input
[
3
:
0
]
x
,
input
[
3
:
0
]
y
,
input
[
3
:
0
]
cin
,
output
[
4
:
0
]
A
,
output
[
4
:
0
]
cout
);
`ifndef BUG
assign {cout,A} = cin + y + x;
`
else
assign
{
cout
,
A
}
=
cin
-
y
*
x
;
`endif
endmodule