Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

VMM using Questa.6.6.

Hello Experts,

We are working on one project based on VMM methodology so to compile it we are using Questasim. But we are facing a problem to run it.

First it wasn't getting a path for VMM.

So I downloaded the vmm package(vmm-1.1.1a/ vmm-1.2.2b), set the environment to

--- Quote Start ---

setenv VMM_HOME /../../Desktop/vmm-1.1.1a/

--- Quote End ---

and compiled my program by using following command:

--- Quote Start ---

vlog -sv +incdir+$VMM_HOME/sv +incdir+$VMM_HOME/sv/std_lib/vmm_str_dpi.c +incdir+$VMM_HOME/sv/std_lib/vmm_xvc_dpi.c top_sv.sv

--- Quote End ---

Now it compiles the program successfully but gives error during simulation. The error is:

--- Quote Start ---

** Fatal: (vsim-3770) Failed to find user specified function 'vmm_str_match'. The search list was empty.# Using -sv_lib, -sv_root, and -sv_liblist arguments can provide a search list# FATAL ERROR while loading design# Error loading design

--- Quote End ---

for simulation we are using following command:

--- Quote Start ---

vsim -c top -do "run -all;quit"

--- Quote End ---

For compilation we also tried command given below:

--- Quote Start ---

vlog -sv +incdir+$VMM_HOME +incdir+/../../Desktop/program +define+vmm_NO_STR_DPI top_sv.sv

--- Quote End ---

But still it gives the same error.

we are using Questa.6.6.

Plz give me some idea to simulate it.

36 Replies