Hi Dave,
The same problem arises again.
I am trying to simulate testcases but it gives me following error of vmm_str_match:
--- Quote Start ---
# ** Fatal: (vsim-160) /home/../../vmm-1.1.1a//sv/std_lib/
vmm.sv(897): Null foreign function pointer encountered when calling 'vmm_str_match'# Time: 0 ns Iteration: 1 Process: /top/tb/#INITIAL#504 File: /home/../../vmm-1.1.1a//sv/std_lib/
vmm.sv# Fatal error at /home/../../vmm-1.1.1a//sv/std_lib/
vmm.sv line 897
--- Quote End ---
The HDL call sequence is:
--- Quote Start ---
HDL call sequence:#
stopped at /home/../../vmm-1.1.1a//sv/std_lib/
vmm.sv 897 # called from /home/../../vmm-1.1.1a//sv/std_lib/vmm_log.sv 1904 # called from /home/../../vmm-1.1.1a//sv/std_lib/vmm_log.sv 1159 # called from /home/../../vmm-1.1.1a//sv/std_lib/vmm_log.sv 988 # called from /home/../../vmm-1.1.1a//sv/std_lib/vmm_test.sv 163 # called from
testcase.sv 521
--- Quote End ---
I use following commands for compilation and simulation:
--- Quote Start ---
compilation command:
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 main_testcase.sv
--- Quote End ---
--- Quote Start ---
simulation command:
vsim -c -solvefaildebug main -do "run -all;quit"
--- Quote End ---
If i use -Lf switch during simulation than design is not loaded.
Note: $VMM_HOME is set by:
--- Quote Start ---
setenv VMM_HOME ~/../vmm-1.1.1a/
--- Quote End ---
Herewith I am attaching example files and standard library files.
Thanking You,
Dreku