Script cleanup
This commit is contained in:
parent
e31589f9b6
commit
32c43ffb90
|
@ -4,12 +4,6 @@
|
||||||
# for several simple operations in OpenFPGA project
|
# for several simple operations in OpenFPGA project
|
||||||
#author : Ganesh Gore <ganesh.gore@utah.edu>
|
#author : Ganesh Gore <ganesh.gore@utah.edu>
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
# Enviroment variables
|
|
||||||
export PATH=$PATH:/usr/local/stow/gcc/amd64_linux26/gcc-8.4.0/bin
|
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/stow/gcc/amd64_linux26/gcc-8.4.0/lib64
|
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/stow/boost/boost_1_67_0/lib/
|
|
||||||
export CC=$(which gcc)
|
|
||||||
export CXX=$(which g++)
|
|
||||||
|
|
||||||
export OPENFPGA_PATH="$(pwd)"
|
export OPENFPGA_PATH="$(pwd)"
|
||||||
export OPENFPGA_SCRIPT_PATH="$(pwd)/openfpga_flow/scripts"
|
export OPENFPGA_SCRIPT_PATH="$(pwd)/openfpga_flow/scripts"
|
||||||
|
@ -26,7 +20,7 @@ check_execution_path (){
|
||||||
}
|
}
|
||||||
|
|
||||||
run-task-with-modelsim () {
|
run-task-with-modelsim () {
|
||||||
echo "Script as to be run as \"run-task-with-modelsim task_name --maxthreads nb_threads other_run-modelsim_options\""
|
echo "Script as to be run as \"run-task-with-modelsim task_name --maxthreads nb_threads other_run-modelsim_options\""
|
||||||
$PYTHON_EXEC $OPENFPGA_SCRIPT_PATH/run_fpga_task.py $1 $2 $3
|
$PYTHON_EXEC $OPENFPGA_SCRIPT_PATH/run_fpga_task.py $1 $2 $3
|
||||||
$PYTHON_EXEC $OPENFPGA_SCRIPT_PATH/run_modelsim.py "$@"
|
$PYTHON_EXEC $OPENFPGA_SCRIPT_PATH/run_modelsim.py "$@"
|
||||||
}
|
}
|
||||||
|
|
133
run_test.sh
133
run_test.sh
|
@ -1,133 +0,0 @@
|
||||||
# python3 openfpga_flow/scripts/run_fpga_flow.py \
|
|
||||||
# ./openfpga_flow/arch/template/k6_N10_sram_chain_HC_template.xml \
|
|
||||||
# ./openfpga_flow/benchmarks/MCNC_Verilog/s298/s298.v \
|
|
||||||
# --top_module s298 \
|
|
||||||
# --power \
|
|
||||||
# --power_tech ./openfpga_flow/tech/PTM_22nm/22nm.xml \
|
|
||||||
# --min_route_chan_width 1.3 \
|
|
||||||
# --vpr_fpga_verilog \
|
|
||||||
# --vpr_fpga_verilog_dir . \
|
|
||||||
# --vpr_fpga_x2p_rename_illegal_port \
|
|
||||||
# --end_flow_with_test \
|
|
||||||
# --vpr_fpga_verilog_include_icarus_simulator \
|
|
||||||
# --vpr_fpga_verilog_formal_verification_top_netlist \
|
|
||||||
# --vpr_fpga_verilog_include_timing \
|
|
||||||
# --vpr_fpga_verilog_include_signal_init \
|
|
||||||
# --vpr_fpga_verilog_print_autocheck_top_testbench
|
|
||||||
|
|
||||||
# Test popular multi-mode architecture
|
|
||||||
python3 openfpga_flow/scripts/run_fpga_flow.py \
|
|
||||||
./openfpga_flow/arch/template/k6_N10_sram_chain_HC_template.xml \
|
|
||||||
./openfpga_flow/benchmarks/test_modes/test_modes.blif \
|
|
||||||
--fpga_flow vpr_blif \
|
|
||||||
--top_module test_modes \
|
|
||||||
--activity_file ./openfpga_flow/benchmarks/test_modes/test_modes.act \
|
|
||||||
--base_verilog ./openfpga_flow/benchmarks/test_modes/test_modes.v \
|
|
||||||
--power \
|
|
||||||
--power_tech ./openfpga_flow/tech/PTM_45nm/45nm.xml \
|
|
||||||
--min_route_chan_width 1.3 \
|
|
||||||
--vpr_fpga_verilog \
|
|
||||||
--vpr_fpga_verilog_dir . \
|
|
||||||
--vpr_fpga_x2p_rename_illegal_port \
|
|
||||||
--vpr_fpga_verilog_include_icarus_simulator \
|
|
||||||
--vpr_fpga_verilog_formal_verification_top_netlist \
|
|
||||||
--vpr_fpga_verilog_include_timing \
|
|
||||||
--vpr_fpga_verilog_include_signal_init \
|
|
||||||
--vpr_fpga_verilog_print_autocheck_top_testbench \
|
|
||||||
--debug \
|
|
||||||
--vpr_fpga_bitstream_generator \
|
|
||||||
--vpr_fpga_verilog_print_user_defined_template \
|
|
||||||
--vpr_fpga_verilog_print_report_timing_tcl \
|
|
||||||
--vpr_fpga_verilog_print_sdc_pnr \
|
|
||||||
--vpr_fpga_verilog_print_sdc_analysis \
|
|
||||||
--vpr_fpga_x2p_compact_routing_hierarchy \
|
|
||||||
--end_flow_with_test \
|
|
||||||
--vpr_fpga_verilog_print_modelsim_autodeck /uusoc/facility/cad_tools/Mentor/modelsim10.7b/modeltech/modelsim.ini
|
|
||||||
|
|
||||||
# # Test Standard cell MUX2
|
|
||||||
# python3 openfpga_flow/scripts/run_fpga_flow.py \
|
|
||||||
# ./openfpga_flow/arch/template/k8_N10_sram_chain_FC_template.xml \
|
|
||||||
# ./openfpga_flow/benchmarks/Test_Modes/test_modes.blif \
|
|
||||||
# --fpga_flow vpr_blif \
|
|
||||||
# --top_module test_modes \
|
|
||||||
# --activity_file ./openfpga_flow/benchmarks/Test_Modes/test_modes.act \
|
|
||||||
# --base_verilog ./openfpga_flow/benchmarks/Test_Modes/test_modes.v \
|
|
||||||
# --power \
|
|
||||||
# --power_tech ./openfpga_flow/tech/PTM_45nm/45nm.xml \
|
|
||||||
# #--fix_route_chan_width 300 \
|
|
||||||
# --min_route_chan_width 1.3 \
|
|
||||||
# --vpr_fpga_verilog \
|
|
||||||
# --vpr_fpga_verilog_dir . \
|
|
||||||
# --vpr_fpga_x2p_rename_illegal_port \
|
|
||||||
# --vpr_fpga_verilog_include_icarus_simulator \
|
|
||||||
# --vpr_fpga_verilog_formal_verification_top_netlist \
|
|
||||||
# --vpr_fpga_verilog_include_timing \
|
|
||||||
# --vpr_fpga_verilog_include_signal_init \
|
|
||||||
# --vpr_fpga_verilog_print_autocheck_top_testbench \
|
|
||||||
# --debug \
|
|
||||||
# --vpr_fpga_bitstream_generator \
|
|
||||||
# --vpr_fpga_verilog_print_user_defined_template \
|
|
||||||
# --vpr_fpga_verilog_print_report_timing_tcl \
|
|
||||||
# --vpr_fpga_verilog_print_sdc_pnr \
|
|
||||||
# --vpr_fpga_verilog_print_sdc_analysis \
|
|
||||||
# --vpr_fpga_x2p_compact_routing_hierarchy \
|
|
||||||
# --end_flow_with_test
|
|
||||||
|
|
||||||
# # Test local encoder feature
|
|
||||||
# python3 openfpga_flow/scripts/run_fpga_flow.py \
|
|
||||||
# ./openfpga_flow/arch/template/k6_N10_sram_chain_HC_local_encoder_template.xml \
|
|
||||||
# ./openfpga_flow/benchmarks/Test_Modes/test_modes.blif \
|
|
||||||
# --fpga_flow vpr_blif \
|
|
||||||
# --top_module test_modes \
|
|
||||||
# --activity_file ./openfpga_flow/benchmarks/Test_Modes/test_modes.act \
|
|
||||||
# --base_verilog ./openfpga_flow/benchmarks/Test_Modes/test_modes.v \
|
|
||||||
# --power \
|
|
||||||
# --power_tech ./openfpga_flow/tech/PTM_45nm/45nm.xml \
|
|
||||||
# --fix_route_chan_width 300 \
|
|
||||||
# --vpr_fpga_verilog \
|
|
||||||
# --vpr_fpga_verilog_dir . \
|
|
||||||
# --vpr_fpga_x2p_rename_illegal_port \
|
|
||||||
# --vpr_fpga_verilog_include_icarus_simulator \
|
|
||||||
# --vpr_fpga_verilog_formal_verification_top_netlist \
|
|
||||||
# --vpr_fpga_verilog_include_timing \
|
|
||||||
# --vpr_fpga_verilog_include_signal_init \
|
|
||||||
# --vpr_fpga_verilog_print_autocheck_top_testbench \
|
|
||||||
# --debug \
|
|
||||||
# --vpr_fpga_bitstream_generator \
|
|
||||||
# --vpr_fpga_verilog_print_user_defined_template \
|
|
||||||
# --vpr_fpga_verilog_print_report_timing_tcl \
|
|
||||||
# --vpr_fpga_verilog_print_sdc_pnr \
|
|
||||||
# --vpr_fpga_verilog_print_sdc_analysis \
|
|
||||||
# --vpr_fpga_x2p_compact_routing_hierarchy \
|
|
||||||
# --end_flow_with_test
|
|
||||||
|
|
||||||
# Test tileable routing feature
|
|
||||||
#python3 openfpga_flow/scripts/run_fpga_flow.py \
|
|
||||||
#./openfpga_flow/arch/template/k6_N10_sram_chain_HC_tileable_template.xml \
|
|
||||||
#./openfpga_flow/benchmarks/Test_Modes/test_modes.blif \
|
|
||||||
#--fpga_flow vpr_blif \
|
|
||||||
#--top_module test_modes \
|
|
||||||
#--activity_file ./openfpga_flow/benchmarks/Test_Modes/test_modes.act \
|
|
||||||
#--base_verilog ./openfpga_flow/benchmarks/Test_Modes/test_modes.v \
|
|
||||||
#--power \
|
|
||||||
#--power_tech ./openfpga_flow/tech/PTM_45nm/45nm.xml \
|
|
||||||
##--fix_route_chan_width 300 \
|
|
||||||
#--min_route_chan_width 1.3 \
|
|
||||||
#--vpr_fpga_verilog \
|
|
||||||
#--vpr_fpga_verilog_dir . \
|
|
||||||
#--vpr_fpga_x2p_rename_illegal_port \
|
|
||||||
#--vpr_fpga_verilog_include_icarus_simulator \
|
|
||||||
#--vpr_fpga_verilog_formal_verification_top_netlist \
|
|
||||||
#--vpr_fpga_verilog_include_timing \
|
|
||||||
#--vpr_fpga_verilog_include_signal_init \
|
|
||||||
#--vpr_fpga_verilog_print_autocheck_top_testbench \
|
|
||||||
#--debug \
|
|
||||||
#--vpr_fpga_bitstream_generator \
|
|
||||||
#--vpr_fpga_verilog_print_user_defined_template \
|
|
||||||
#--vpr_fpga_verilog_print_report_timing_tcl \
|
|
||||||
#--vpr_fpga_verilog_print_sdc_pnr \
|
|
||||||
#--vpr_fpga_verilog_print_sdc_analysis \
|
|
||||||
#--vpr_fpga_x2p_compact_routing_hierarchy \
|
|
||||||
#--vpr_use_tileable_route_chan_width \
|
|
||||||
#--end_flow_with_test
|
|
||||||
|
|
Loading…
Reference in New Issue