yosys/docs/source/code_examples/macc/macc_simple_test_01.v

7 lines
125 B
Verilog
Raw Normal View History

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