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

7 lines
116 B
Verilog
Raw Normal View History

2014-02-20 05:46:29 -06:00
module macc_16_16_32(a, b, c, y);
input [15:0] a, b;
input [31:0] c;
output [31:0] y;
assign y = a*b + c;
endmodule