aboutsummaryrefslogtreecommitdiffstats
path: root/manual/PRESENTATION_ExAdv/macc_simple_test.v
blob: 6358a47c9720a8fb8b1d89a5d5f5b138b7eac495 (plain)
1
2
3
4
5
6
module test(a, b, c, d, y);
input [15:0] a, b;
input [31:0] c, d;
output [31:0] y;
assign y = a * b + c + d;
endmodule