Sign in
foss-fpga-tools
/
yosys-symbiflow-plugins
/
eaf3d86a530e6b0814a48fe02c41c0b57453bdde
/
.
/
ql-qlf-plugin
/
tests
/
mac_unit
/
mac_unit.v
blob: bcec4506ceca58146a054aa911a5cd4c77fcd5a4 [
file
] [
log
] [
blame
]
module
mac_unit
(
a
,
b
,
out
);
parameter DATA_WIDTH
=
16
;
input
[
DATA_WIDTH
-
1
:
0
]
a
,
b
;
output
[
2
*
DATA_WIDTH
-
1
:
0
]
out
;
assign
out
=
a
*
b
+
out
;
endmodule