OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/mult/mult8/mult8.v

19 lines
461 B
Coq

//-------------------------------------------------------
// Functionality: A 8-bit multiply circuit using macro
// Author: Tarachand Pagarani
//-------------------------------------------------------
module mult8(a, b, out);
parameter DATA_WIDTH = 8; /* declare a parameter. default required */
input [DATA_WIDTH - 1 : 0] a, b;
output [2*DATA_WIDTH - 1 : 0] out;
(* keep *)
mult_8 #(.MODE(1'b1)) DSP (
.A(a),
.B(b),
.Y(out),
);
endmodule