Merge pull request #123 from lnis-uofu/xt_dev

Update openfpga shell script due to the deprecation of 'write_verilog_testbench'
This commit is contained in:
tangxifan 2021-06-29 16:28:28 -06:00 committed by GitHub
commit 45184c35ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 20 deletions

View File

@ -54,11 +54,9 @@ write_fabric_bitstream --file fabric_bitstream.bit --format plain_text
# - Enable top-level testbench which is a full verification including programming circuit and core logic of FPGA # - Enable top-level testbench which is a full verification including programming circuit and core logic of FPGA
# - Enable pre-configured top-level testbench which is a fast verification skipping programming phase # - Enable pre-configured top-level testbench which is a fast verification skipping programming phase
# - Simulation ini file is optional and is needed only when you need to interface different HDL simulators using openfpga flow-run scripts # - Simulation ini file is optional and is needed only when you need to interface different HDL simulators using openfpga flow-run scripts
write_verilog_testbench --file ./SRC \ write_full_testbench --file ./SRC \
--bitstream fabric_bitstream.bit
--reference_benchmark_file_path ${REFERENCE_VERILOG_TESTBENCH} \ --reference_benchmark_file_path ${REFERENCE_VERILOG_TESTBENCH} \
--print_top_testbench \
--print_preconfig_top_testbench \
--print_simulation_ini ./SimulationDeck/simulation_deck.ini \
--explicit_port_mapping --explicit_port_mapping
# Exclude signal initialization since it does not help simulator converge # Exclude signal initialization since it does not help simulator converge
# due to the lack of reset pins for flip-flops # due to the lack of reset pins for flip-flops

View File

@ -53,11 +53,9 @@ write_fabric_bitstream --file fabric_bitstream.xml --format xml
# - Enable top-level testbench which is a full verification including programming circuit and core logic of FPGA # - Enable top-level testbench which is a full verification including programming circuit and core logic of FPGA
# - Enable pre-configured top-level testbench which is a fast verification skipping programming phase # - Enable pre-configured top-level testbench which is a fast verification skipping programming phase
# - Simulation ini file is optional and is needed only when you need to interface different HDL simulators using openfpga flow-run scripts # - Simulation ini file is optional and is needed only when you need to interface different HDL simulators using openfpga flow-run scripts
write_verilog_testbench --file ./SRC \ write_full_testbench --file ./SRC \
--bitstream fabric_bitstream.bit
--reference_benchmark_file_path ${REFERENCE_VERILOG_TESTBENCH} \ --reference_benchmark_file_path ${REFERENCE_VERILOG_TESTBENCH} \
--print_top_testbench \
--print_preconfig_top_testbench \
--print_simulation_ini ./SimulationDeck/simulation_deck.ini \
--explicit_port_mapping --explicit_port_mapping
# Exclude signal initialization since it does not help simulator converge # Exclude signal initialization since it does not help simulator converge
# due to the lack of reset pins for flip-flops # due to the lack of reset pins for flip-flops

View File

@ -54,11 +54,9 @@ write_fabric_bitstream --file fabric_bitstream.bit --format plain_text
# - Enable top-level testbench which is a full verification including programming circuit and core logic of FPGA # - Enable top-level testbench which is a full verification including programming circuit and core logic of FPGA
# - Enable pre-configured top-level testbench which is a fast verification skipping programming phase # - Enable pre-configured top-level testbench which is a fast verification skipping programming phase
# - Simulation ini file is optional and is needed only when you need to interface different HDL simulators using openfpga flow-run scripts # - Simulation ini file is optional and is needed only when you need to interface different HDL simulators using openfpga flow-run scripts
write_verilog_testbench --file ./SRC \ write_full_testbench --file ./SRC \
--bitstream fabric_bitstream.bit
--reference_benchmark_file_path ${REFERENCE_VERILOG_TESTBENCH} \ --reference_benchmark_file_path ${REFERENCE_VERILOG_TESTBENCH} \
--print_top_testbench \
--print_preconfig_top_testbench \
--print_simulation_ini ./SimulationDeck/simulation_deck.ini \
--explicit_port_mapping --explicit_port_mapping
# Exclude signal initialization since it does not help simulator converge # Exclude signal initialization since it does not help simulator converge
# due to the lack of reset pins for flip-flops # due to the lack of reset pins for flip-flops

View File

@ -44,13 +44,10 @@ build_fabric_bitstream
write_fabric_bitstream --format plain_text --file fabric_bitstream.bit write_fabric_bitstream --format plain_text --file fabric_bitstream.bit
write_fabric_bitstream --format xml --file fabric_bitstream.xml write_fabric_bitstream --format xml --file fabric_bitstream.xml
write_verilog_testbench \ write_full_testbench --file ./SRC \
--file ./SRC \ --bitstream fabric_bitstream.bit
--reference_benchmark_file_path ${REFERENCE_VERILOG_TESTBENCH} \ --reference_benchmark_file_path ${REFERENCE_VERILOG_TESTBENCH} \
--print_top_testbench \ --explicit_port_mapping
--print_preconfig_top_testbench \
--print_simulation_ini ./SimulationDeck/simulation_deck.ini \
--explicit_port_mapping
# Finish and exit OpenFPGA # Finish and exit OpenFPGA
exit exit