yosys/manual/PRESENTATION_ExAdv/macc_simple_test.v

7 lines
119 B
Verilog
Raw Normal View History

2014-02-20 05:46:29 -06:00
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