blob: 7c8a6165b84f1c4bc1a0899efe50a23afb39286c [file]
`ifndef DSP_COMB
`define DSP_COMB
(* whitebox *)
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