mirror of https://github.com/lnis-uofu/SOFA.git
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:
commit
45184c35ea
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue