diff --git a/openfpga_flow/benchmarks/micro_benchmark/mac_8/mac_8.v b/openfpga_flow/benchmarks/micro_benchmark/mac_8/mac_8.v new file mode 100644 index 000000000..8175f6ca6 --- /dev/null +++ b/openfpga_flow/benchmarks/micro_benchmark/mac_8/mac_8.v @@ -0,0 +1,22 @@ +//------------------------------------------------------- +// Functionality: A 8-bit multiply-acculumate circuit +// Author: Xifan Tang +//------------------------------------------------------- + +module mac_8(a, b, c, out); +parameter DATA_WIDTH = 8; /* declare a parameter. default required */ +input [DATA_WIDTH - 1 : 0] a, b, c; +output [DATA_WIDTH - 1 : 0] out; + +assign out = a * b + c; + +endmodule + + + + + + + + +