[test] add and deploy new benchmark
This commit is contained in:
parent
ad2d101554
commit
4d9aacdf8f
|
@ -0,0 +1,47 @@
|
||||||
|
/////////////////////////////////////////
|
||||||
|
// Functionality: 8-bit version of A register driven by a combinational logic with reset signal
|
||||||
|
// Author: Xifan Tang
|
||||||
|
////////////////////////////////////////
|
||||||
|
`timescale 1ns / 1ps
|
||||||
|
|
||||||
|
module rst_on_lut_8bit(a, b0, b1, b2, b3, b4, b5, b6, b7, q, out0, out1, out2, out3, out4, out5, out6, out7, clk, rst);
|
||||||
|
|
||||||
|
input wire rst;
|
||||||
|
input wire clk;
|
||||||
|
input wire a;
|
||||||
|
input wire b0;
|
||||||
|
input wire b1;
|
||||||
|
input wire b2;
|
||||||
|
input wire b3;
|
||||||
|
input wire b4;
|
||||||
|
input wire b5;
|
||||||
|
input wire b6;
|
||||||
|
input wire b7;
|
||||||
|
output reg q;
|
||||||
|
output wire out0;
|
||||||
|
output wire out1;
|
||||||
|
output wire out2;
|
||||||
|
output wire out3;
|
||||||
|
output wire out4;
|
||||||
|
output wire out5;
|
||||||
|
output wire out6;
|
||||||
|
output wire out7;
|
||||||
|
|
||||||
|
always @(posedge rst or posedge clk) begin
|
||||||
|
if (rst) begin
|
||||||
|
q <= 0;
|
||||||
|
end else begin
|
||||||
|
q <= a;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
assign out0 = b0 & ~rst;
|
||||||
|
assign out1 = b1 & ~rst;
|
||||||
|
assign out2 = b2 & ~rst;
|
||||||
|
assign out3 = b3 & ~rst;
|
||||||
|
assign out4 = b4 & ~rst;
|
||||||
|
assign out5 = b5 & ~rst;
|
||||||
|
assign out6 = b6 & ~rst;
|
||||||
|
assign out7 = b7 & ~rst;
|
||||||
|
|
||||||
|
endmodule
|
|
@ -29,6 +29,7 @@ arch0=${PATH:OPENFPGA_PATH}/openfpga_flow/vpr_arch/k4_frac_N4_tileable_fracff_lo
|
||||||
bench0=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/two_dff_inv_rst/two_dff_inv_rst.v
|
bench0=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/two_dff_inv_rst/two_dff_inv_rst.v
|
||||||
bench1=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/rst_on_lut/rst_on_lut.v
|
bench1=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/rst_on_lut/rst_on_lut.v
|
||||||
bench2=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/rst_on_lut_4bit/rst_on_lut_4bit.v
|
bench2=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/rst_on_lut_4bit/rst_on_lut_4bit.v
|
||||||
|
bench3=${PATH:OPENFPGA_PATH}/openfpga_flow/benchmarks/micro_benchmark/rst_on_lut_8bit/rst_on_lut_8bit.v
|
||||||
|
|
||||||
[SYNTHESIS_PARAM]
|
[SYNTHESIS_PARAM]
|
||||||
# Yosys script parameters
|
# Yosys script parameters
|
||||||
|
@ -50,6 +51,10 @@ bench2_top = rst_on_lut_4bit
|
||||||
bench2_openfpga_pin_constraints_file = ${PATH:TASK_DIR}/config/rst_on_lut_pc.xml
|
bench2_openfpga_pin_constraints_file = ${PATH:TASK_DIR}/config/rst_on_lut_pc.xml
|
||||||
bench2_openfpga_repack_design_constraint_file=${PATH:TASK_DIR}/config/rst_on_lut_repack_dc.xml
|
bench2_openfpga_repack_design_constraint_file=${PATH:TASK_DIR}/config/rst_on_lut_repack_dc.xml
|
||||||
|
|
||||||
|
bench3_top = rst_on_lut_8bit
|
||||||
|
bench3_openfpga_pin_constraints_file = ${PATH:TASK_DIR}/config/rst_on_lut_pc.xml
|
||||||
|
bench3_openfpga_repack_design_constraint_file=${PATH:TASK_DIR}/config/rst_on_lut_repack_dc.xml
|
||||||
|
|
||||||
[SCRIPT_PARAM_MIN_ROUTE_CHAN_WIDTH]
|
[SCRIPT_PARAM_MIN_ROUTE_CHAN_WIDTH]
|
||||||
end_flow_with_test=
|
end_flow_with_test=
|
||||||
vpr_fpga_verilog_formal_verification_top_netlist=
|
vpr_fpga_verilog_formal_verification_top_netlist=
|
||||||
|
|
Loading…
Reference in New Issue