Sign in
foss-fpga-tools
/
third_party
/
yosys
/
3fb604c75d3e8ee45d35fac8b787cb95a8adcf84
/
.
/
tests
/
ice40
/
add_sub.v
blob: 177c32e3085bdb68cf8ee2449c6a3da588a1dd06 [
file
] [
log
] [
blame
]
module
top
(
input
[
3
:
0
]
x
,
input
[
3
:
0
]
y
,
output
[
3
:
0
]
A
,
output
[
3
:
0
]
B
);
assign A
=
x
+
y
;
assign B
=
x
-
y
;
endmodule