summaryrefslogtreecommitdiff
path: root/manual/PRESENTATION_ExAdv/macc_xilinx_test.v
blob: d08d939e9d9d0b547da2cf37b0a486b35783fc74 (plain)
1
2
3
4
5
6
module test(a, b, c, d, e, f, y);
input [19:0] a, b, c;
input [15:0] d, e, f;
output [41:0] y;
assign y = a*b + c*d + e*f;
endmodule