Cadence ies example script processing – Altera Mentor Verification IP Altera Edition AMBA AXI4-Lite User Manual
Page 365
Getting Started with Qsys and the BFMs
Setting Up Simulation from the Windows GUI
Mentor Verification IP AE AXI4-Lite User Guide, V10.3
365
April 2014
Note
For details about the process steps performed by the example-ius.sh script, refer to
“
Cadence IES Example Script Processing
Cadence IES Example Script Processing
The example-ius.sh script described below is contained in the installed Mentor VIP AE
directory location axi4lite/qsys-examples/ex1_back_to_back_sv.
The Mentor VIP AE BFMs for AXI4-Lite are compiled. The ncsim_setup.sh simulation script is
generated by Qsys, along with the simulation model files.
#!/bin/sh
# Usage:
# 32 bit mode is run unless 64 is passed in as the first argument.
MENTOR_VIP_AE=${MENTOR_VIP_AE:-$QUARTUS_ROOTDIR/../ip/ \
altera/mentor_vip_ae}
if [ "$1" == "64" ]
then
export QUESTA_MVC_GCC_LIB=$MENTOR_VIP_AE/common/ \
questa_mvc_core/linux_x86_64_gcc-4.4_ius
export INCA_64BIT=1
else
export QUESTA_MVC_GCC_LIB=$MENTOR_VIP_AE/common/ \
questa_mvc_core/linux_gcc-4.4_ius
fi
export LD_LIBRARY_PATH=$QUESTA_MVC_GCC_LIB:$LD_LIBRARY_PATH
cd simulation/cadence
# Run once, just to execute the 'mkdir' for the libraries.
source ncsim_setup.sh SKIP_DEV_COM=1 SKIP_COM=1 SKIP_ELAB=1 SKIP_SIM=1
# Compile VIP
ncvlog -sv \
"$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_master.sv" \
"$MENTOR_VIP_AE/axi4/bfm/mgc_axi4_slave.sv"
The three example test programs are compiled:
# Compile the test program
ncvlog -sv ../../master_test_program.sv
ncvlog -sv ../../monitor_test_program.sv
ncvlog -sv ../../slave_test_program.sv