2020-07-04 18:31:34 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
start_section "OpenFPGA.TaskTun" "${GREEN}..Running_Regression..${NC}"
|
|
|
|
cd ${TRAVIS_BUILD_DIR}
|
|
|
|
|
|
|
|
###############################################
|
|
|
|
# OpenFPGA Shell with VPR8
|
|
|
|
##############################################
|
|
|
|
echo -e "Basic regression tests";
|
|
|
|
|
|
|
|
echo -e "Testing configuration chain of a K4N4 FPGA";
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_chain --debug --show_thread_logs
|
2020-09-24 15:36:39 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_chain_use_reset --debug --show_thread_logs
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_chain_use_resetb --debug --show_thread_logs
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_chain_use_set --debug --show_thread_logs
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_chain_use_setb --debug --show_thread_logs
|
2020-09-24 18:04:43 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_chain_use_set_reset --debug --show_thread_logs
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/fast_configuration_chain --debug --show_thread_logs
|
2020-09-24 15:36:39 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/fast_configuration_chain_use_set --debug --show_thread_logs
|
2020-09-24 17:38:34 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/smart_fast_configuration_chain --debug --show_thread_logs
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/preconfig_testbench/configuration_chain --debug --show_thread_logs
|
2020-07-04 18:31:34 -05:00
|
|
|
|
|
|
|
echo -e "Testing fram-based configuration protocol of a K4N4 FPGA";
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_frame --debug --show_thread_logs
|
2020-09-23 23:08:30 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/smart_fast_configuration_frame --debug --show_thread_logs
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/fast_configuration_frame --debug --show_thread_logs
|
2020-09-23 23:08:30 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/fast_configuration_frame_use_set --debug --show_thread_logs
|
2020-09-23 20:20:41 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_frame_ccff --debug --show_thread_logs
|
2020-09-23 21:45:19 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_frame_scff --debug --show_thread_logs
|
2020-09-24 13:20:18 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_frame_use_reset --debug --show_thread_logs
|
2020-09-23 23:59:46 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_frame_use_resetb --debug --show_thread_logs
|
2020-09-24 13:20:18 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_frame_use_set --debug --show_thread_logs
|
2020-09-24 00:07:19 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_frame_use_setb --debug --show_thread_logs
|
2020-09-24 18:04:43 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/configuration_frame_use_set_reset --debug --show_thread_logs
|
2020-09-24 00:07:19 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/preconfig_testbench/configuration_frame --debug --show_thread_logs
|
2020-07-04 18:31:34 -05:00
|
|
|
|
|
|
|
echo -e "Testing memory bank configuration protocol of a K4N4 FPGA";
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/memory_bank --debug --show_thread_logs
|
2020-09-24 11:26:10 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/memory_bank_use_reset --debug --show_thread_logs
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/memory_bank_use_resetb --debug --show_thread_logs
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/memory_bank_use_set --debug --show_thread_logs
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/memory_bank_use_setb --debug --show_thread_logs
|
2020-09-24 18:04:43 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/memory_bank_use_set_reset --debug --show_thread_logs
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/fast_memory_bank --debug --show_thread_logs
|
2020-09-24 13:20:18 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/fast_memory_bank_use_set --debug --show_thread_logs
|
2020-09-24 11:26:10 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/smart_fast_memory_bank --debug --show_thread_logs
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/preconfig_testbench/memory_bank --debug --show_thread_logs
|
2020-07-04 18:31:34 -05:00
|
|
|
|
|
|
|
echo -e "Testing standalone (flatten memory) configuration protocol of a K4N4 FPGA";
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/full_testbench/flatten_memory --debug --show_thread_logs
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/preconfig_testbench/flatten_memory --debug --show_thread_logs
|
2020-07-04 18:31:34 -05:00
|
|
|
|
2020-09-23 17:48:45 -05:00
|
|
|
echo -e "Testing fixed device layout and routing channel width";
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/fixed_device_support --debug --show_thread_logs
|
|
|
|
|
2020-07-04 18:31:34 -05:00
|
|
|
echo -e "Testing fabric Verilog generation only";
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/generate_fabric --debug --show_thread_logs
|
2020-07-04 18:31:34 -05:00
|
|
|
|
|
|
|
echo -e "Testing Verilog testbench generation only";
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/generate_testbench --debug --show_thread_logs
|
2020-07-04 18:31:34 -05:00
|
|
|
|
|
|
|
echo -e "Testing user-defined simulation settings: clock frequency and number of cycles";
|
2020-07-27 18:18:59 -05:00
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/fixed_simulation_settings --debug --show_thread_logs
|
2020-07-04 18:31:34 -05:00
|
|
|
|
2020-09-22 12:43:34 -05:00
|
|
|
echo -e "Testing K4 series FPGA";
|
|
|
|
echo -e "Testing K4N4 with facturable LUTs";
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/k4_series/k4n4_frac_lut --debug --show_thread_logs
|
|
|
|
echo -e "Testing K4N4 with hard adders";
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/k4_series/k4n4_adder --debug --show_thread_logs
|
2020-09-22 12:49:16 -05:00
|
|
|
echo -e "Testing K4N4 without local routing architecture";
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/k4_series/k4n4_no_local_routing --debug --show_thread_logs
|
2020-09-22 13:24:54 -05:00
|
|
|
echo -e "Testing K4N4 with block RAM";
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/k4_series/k4n4_bram --debug --show_thread_logs
|
2020-09-22 13:48:53 -05:00
|
|
|
echo -e "Testing K4N4 with multiple lengths of routing segments";
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/k4_series/k4n4_L124 --debug --show_thread_logs
|
2020-09-22 16:34:44 -05:00
|
|
|
echo -e "Testing K4N4 with 32-bit fracturable multiplier";
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/k4_series/k4n4_frac_mult --debug --show_thread_logs
|
2020-09-23 17:08:01 -05:00
|
|
|
echo -e "Testing K4N5 with pattern based local routing";
|
|
|
|
python3 openfpga_flow/scripts/run_fpga_task.py basic_tests/k4_series/k4n5_pattern_local_routing --debug --show_thread_logs
|
2020-09-22 12:43:34 -05:00
|
|
|
|
2020-07-04 18:31:34 -05:00
|
|
|
end_section "OpenFPGA.TaskTun"
|