mirror of https://github.com/lnis-uofu/SOFA.git
Merge pull request #35 from LNIS-Projects/xt_dev
Add microbenchmark and associated Post-PnR testbenches to test fracturable LUT4
This commit is contained in:
commit
36a512123a
|
@ -0,0 +1,4 @@
|
||||||
|
a 0.5 0.5
|
||||||
|
b 0.5 0.5
|
||||||
|
c 0.25 0.25
|
||||||
|
d 0.25 0.25
|
|
@ -0,0 +1,11 @@
|
||||||
|
.model and2_or2
|
||||||
|
.inputs a b
|
||||||
|
.outputs c d
|
||||||
|
|
||||||
|
.names a b c
|
||||||
|
11 1
|
||||||
|
|
||||||
|
.names a b d
|
||||||
|
00 0
|
||||||
|
|
||||||
|
.end
|
|
@ -0,0 +1,22 @@
|
||||||
|
/////////////////////////////////////////
|
||||||
|
// Functionality: 2-input AND + 2-input OR
|
||||||
|
// This benchmark is designed to test fracturable LUTs
|
||||||
|
// Author: Xifan Tang
|
||||||
|
////////////////////////////////////////
|
||||||
|
`timescale 1ns / 1ps
|
||||||
|
|
||||||
|
module and2_or2(
|
||||||
|
a,
|
||||||
|
b,
|
||||||
|
c,
|
||||||
|
d);
|
||||||
|
|
||||||
|
input wire a;
|
||||||
|
input wire b;
|
||||||
|
output wire c;
|
||||||
|
output wire d;
|
||||||
|
|
||||||
|
assign c = a & b;
|
||||||
|
assign d = a | b;
|
||||||
|
|
||||||
|
endmodule
|
|
@ -37,6 +37,7 @@ bench4=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/routing_test/routing_test.v
|
||||||
# RS decoder needs 1.5k LUT4, exceeding device capacity
|
# RS decoder needs 1.5k LUT4, exceeding device capacity
|
||||||
#bench5=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/rs_decoder/rtl/rs_decoder.v
|
#bench5=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/rs_decoder/rtl/rs_decoder.v
|
||||||
bench6=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/simon_bit_serial/rtl/*.v
|
bench6=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/simon_bit_serial/rtl/*.v
|
||||||
|
bench7=${SKYWATER_OPENFPGA_HOME}/BENCHMARK/and2_or2/and2_or2.v
|
||||||
|
|
||||||
[SYNTHESIS_PARAM]
|
[SYNTHESIS_PARAM]
|
||||||
bench0_top = and2
|
bench0_top = and2
|
||||||
|
@ -47,6 +48,7 @@ bench4_top = routing_test
|
||||||
# RS decoder needs 1.5k LUT4, exceeding device capacity
|
# RS decoder needs 1.5k LUT4, exceeding device capacity
|
||||||
#bench5_top = rs_decoder_top
|
#bench5_top = rs_decoder_top
|
||||||
bench6_top = top_module
|
bench6_top = top_module
|
||||||
|
bench7_top = and2_or2
|
||||||
|
|
||||||
[SCRIPT_PARAM_MIN_ROUTE_CHAN_WIDTH]
|
[SCRIPT_PARAM_MIN_ROUTE_CHAN_WIDTH]
|
||||||
#end_flow_with_test=
|
#end_flow_with_test=
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,30 @@
|
||||||
|
//-------------------------------------------
|
||||||
|
// FPGA Synthesizable Verilog Netlist
|
||||||
|
// Description: Netlist Summary
|
||||||
|
// Author: Xifan TANG
|
||||||
|
// Organization: University of Utah
|
||||||
|
// Date: Sun Nov 22 13:37:06 2020
|
||||||
|
//-------------------------------------------
|
||||||
|
//----- Time scale -----
|
||||||
|
`timescale 1ns / 1ps
|
||||||
|
|
||||||
|
// ------ Include simulation defines -----
|
||||||
|
`include "/research/ece/lnis/USERS/tang/github/skywater-openfpga/TESTBENCH/k4_N8_caravel_io_FPGA_12x12_fdhd_cc/prepnr/verilog_testbench/define_simulation.v"
|
||||||
|
|
||||||
|
`include "/research/ece/lnis/USERS/tang/github/skywater-openfpga/HDL/common/skywater_function_verification.v"
|
||||||
|
|
||||||
|
// ------ Include Skywater cell netlists -----
|
||||||
|
`include "/research/ece/lnis/USERS/tang/github/skywater-openfpga/TESTBENCH/common/post_pnr_fpga_cells.v"
|
||||||
|
|
||||||
|
// ------ Include fabric top-level netlists -----
|
||||||
|
//`include "/research/ece/lnis/USERS/tang/github/skywater-openfpga/FPGA1212_FC_HD_SKY_PNR/fpga_core/fpga_core_icv_in_design.pt.v"
|
||||||
|
`include "/research/ece/lnis/USERS/DARPA_ERI/Tapeout/Nov2020_Skywater/FPGA1212_FLAT_HD_SKY_PNR/fpga_top/fpga_top_icv_in_design.pt.v"
|
||||||
|
|
||||||
|
`ifdef AUTOCHECKED_SIMULATION
|
||||||
|
`include "and2_or2_output_verilog.v"
|
||||||
|
`endif
|
||||||
|
|
||||||
|
`ifdef AUTOCHECKED_SIMULATION
|
||||||
|
`include "/research/ece/lnis/USERS/tang/github/skywater-openfpga/TESTBENCH/k4_N8_caravel_io_FPGA_12x12_fdhd_cc/postpnr/verilog_testbench/and2_or2_post_pnr_autocheck_top_tb.v"
|
||||||
|
`endif
|
||||||
|
|
Loading…
Reference in New Issue