yosys/manual/PRESENTATION_ExAdv/macc_simple_test_01.v

7 lines
125 B
Verilog

module test(a, b, c, d, x, y);
input [15:0] a, b, c, d;
input [31:0] x;
output [31:0] y;
assign y = a*b + c*d + x;
endmodule