yosys/manual/PRESENTATION_ExAdv/macc_xilinx_xmap.v

11 lines
130 B
Verilog
Raw Normal View History

2014-02-20 16:44:28 -06:00
module DSP48_MACC (a, b, c, y);
2014-02-21 07:59:59 -06:00
input [17:0] a;
input [24:0] b;
2014-02-20 16:44:28 -06:00
input [47:0] c;
output [47:0] y;
assign y = a*b + c;
endmodule