Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
4563acfd6b0b2e2137e28206273e5813fa6cdec7
/
.
/
SVIncCompil
/
Testcases
/
YosysTestSuite
/
arch
/
common
/
add_sub.v
blob: 77e5f57457c5e02d64c32ef9be3638c233f696f3 [
file
]
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