2020-11-24 10:58:23 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
2021-01-26 17:40:45 -06:00
|
|
|
source openfpga.sh
|
|
|
|
PYTHON_EXEC=python3.8
|
2020-11-24 10:58:23 -06:00
|
|
|
###############################################
|
|
|
|
# OpenFPGA Shell with VPR8
|
|
|
|
##############################################
|
|
|
|
echo -e "FPGA-Bitstream regression tests";
|
|
|
|
|
|
|
|
echo -e "Testing bitstream generation for an auto-sized device";
|
2022-05-22 00:15:39 -05:00
|
|
|
run-task fpga_bitstream/generate_bitstream/device_auto $@
|
2020-11-24 10:58:23 -06:00
|
|
|
|
|
|
|
echo -e "Testing bitstream generation for an 48x48 FPGA device";
|
2022-05-22 00:15:39 -05:00
|
|
|
run-task fpga_bitstream/generate_bitstream/device_48x48 $@
|
2020-11-24 10:58:23 -06:00
|
|
|
|
|
|
|
echo -e "Testing bitstream generation for an 96x96 FPGA device";
|
2022-05-22 00:15:39 -05:00
|
|
|
run-task fpga_bitstream/generate_bitstream/device_96x96 $@
|
2020-11-24 10:58:23 -06:00
|
|
|
|
|
|
|
echo -e "Testing loading architecture bitstream from an external file";
|
2022-05-22 00:15:39 -05:00
|
|
|
run-task fpga_bitstream/load_external_architecture_bitstream $@
|
2021-02-18 19:05:55 -06:00
|
|
|
|
|
|
|
echo -e "Testing repacker capability in identifying wire LUTs";
|
2022-05-22 00:15:39 -05:00
|
|
|
run-task fpga_bitstream/repack_wire_lut $@
|
2021-04-19 16:56:41 -05:00
|
|
|
|
|
|
|
echo -e "Testing overloading default paths for programmable interconnect when generating bitstream";
|
2022-05-22 00:15:39 -05:00
|
|
|
run-task fpga_bitstream/overload_mux_default_path $@
|
2021-04-27 15:41:38 -05:00
|
|
|
|
|
|
|
echo -e "Testing outputting I/O mapping result to file";
|
2022-05-22 00:15:39 -05:00
|
|
|
run-task fpga_bitstream/write_io_mapping $@
|
2021-05-07 13:06:46 -05:00
|
|
|
|
|
|
|
echo -e "Testing report bitstream distribution to file";
|
2022-05-22 00:15:39 -05:00
|
|
|
run-task fpga_bitstream/report_bitstream_distribution/default_depth $@
|
|
|
|
run-task fpga_bitstream/report_bitstream_distribution/custom_depth $@
|
2021-10-05 21:01:03 -05:00
|
|
|
|
|
|
|
echo -e "Testing bitstream file with don't care bits";
|
2022-05-22 00:15:39 -05:00
|
|
|
run-task fpga_bitstream/dont_care_bits/ql_memory_bank_flatten $@
|
|
|
|
run-task fpga_bitstream/dont_care_bits/ql_memory_bank_shift_register $@
|