blob: 249f5c46560c2a9a89f1a4a502f7c04bb2c15139 [file]
`ifndef DSP_COMB
`define DSP_COMB
(* blackbox *)
module dsp_combinational (
a, b, m,
out
);
localparam DATA_WIDTH = 64;
input wire [DATA_WIDTH/2-1:0] a;
input wire [DATA_WIDTH/2-1:0] b;
input wire m;
(* DELAY_CONST_a="30e-12" *)
(* DELAY_CONST_b="30e-12" *)
(* DELAY_CONST_m="10e-12" *)
output wire [DATA_WIDTH-1:0] out;
// Full adder combinational logic
assign out = m ? a * b : a / b;
endmodule
`endif