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