Hi,
I'm encountering a problem while trying to simulate a qsys generated testbench. The design includes a JTAG to Avalon Master Bridge. My plan was to use the system console to perform reads and writes to various Avalon MM slaves, as there is no Nios processor in my design. When I run the following script to set up my simulation, I get a warning related to an undefined PLI reference. Note that I have not touched the msim_setup.tcl script. set system_name daq_system set QSYS_SIMDIR ../$system_name/testbench set TOP_LEVEL_NAME tb source $QSYS_SIMDIR/mentor/msim_setup.tcl dev_com com vlog -sv simple_tp.sv -L altera_common_sv_packages vlog -sv tb.sv -L altera_common_sv_packages elab_debug Here is the warning:# ** Warning: (vsim-PLI-3003) ../daq_system/testbench/daq_system_tb/simulation/submodules/altera_avalon_st_jtag_interface.v(162): [TOFD] - System task or function '$do_transaction' is not defined.# Time: 0 ps Iteration: 0 Region: /tb/dut/daq_system_inst/master_jtag/jtag_phy_embedded_in_jtag_master/pli_mode File: ../daq_system/testbench/daq_system_tb/simulation/submodules/altera_avalon_st_jtag_interface.v The msim_setup.tcl script contains the following piece of code:# Initialize simulation properties - DO NOT MODIFY! set ELAB_OPTIONS "" set SIM_OPTIONS "" if ![ string match "*-64 vsim*" [ vsim -version ] ] { } else { append ELAB_OPTIONS " -pli $QUARTUS_INSTALL_DIR/linux64/libsld_sysconsim.so" setenv LD_LIBRARY_PATH "$QUARTUS_INSTALL_DIR/linux64" } As best I can tell, $do_transaction is defined in the library libsld_sysconsim.so. However, my Quartus install only has a 64 bit version of this library. $ locate libsld_syscon /opt/altera/quartus_lite-15.1/quartus/linux64/libsld_sysconsim.so Since Modelsim ASE is a 32 bit application, I don't understand how this can be made to work without a 32 bit version of libsld_sysconsim.so. What am I missing? Here is my environment: Quartus Prime Version 15.1.1 Build 189 12/02/2015 SJ Lite Edition ModelSim ALTERA STARTER EDITION 10.4b Revision: 2015.05 Date: May 27 2015 CentOS release 6.7 (Final) Linux 2.6.32-573.18.1.el6.x86_64# 1 SMP Tue Feb 9 22:46:17 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux thanks, galen链接已复制
0 回复数
