Missing DPI import function "dvc_axi4_initialise_SystemVerilog" while simulating axi4 bfm in VCS
Hi,
I was doing simulation with Quartus generated AXI4 bfm in VCS. The script I used to run the simulation is generated by using the Quartus tool (version 23.4.0). While running the simulation, after compilation of all modules I'm getting a DPI import function/task error. I'm posting the error message below:
I checked installation paths and libraries for this function but couldn't find anything related to this file. The input I got from others is like some ".c" file describing this function is missing and that is the cause for this error. For the simulation I'm only using Verilog and System Verilog files and no C files are used. I checked the installation paths, libraries etc. but cannot find any C file. So, what should I do to fix this issue?
Hi Dins,
Attached the design example script file.
Make sure line 14:
export QUESTA_MVC_GCC_LIB=${MENTOR_VIP_AE}/common/questa_mvc_core/linux_x86_64_gcc-6.2.0_vcs
Make sure included line 30:
export LDFLAGS="-L ${QUESTA_MVC_GCC_LIB} -Wl,-rpath ${QUESTA_MVC_GCC_LIB} -laxi4_IN_SystemVerilog_VCS_full_DVC "
and line 37-42:
$MENTOR_VIP_AE/common/questa_mvc_svapi.svh \
$MENTOR_VIP_AE/axi4/bfm/mgc_common_axi4.sv \
$MENTOR_VIP_AE/axi4/bfm/mgc_axi4_monitor.sv \
$MENTOR_VIP_AE/axi4/bfm/mgc_axi4_inline_monitor.sv \
$MENTOR_VIP_AE/axi4/bfm/mgc_axi4_slave.sv \
$MENTOR_VIP_AE/axi4/bfm/mgc_axi4_master.sv \