Forum Discussion
Modelsim ASE starter not directly support UVM
- 5 years ago
Hi,
Unfortunately ModelSim does not have pre-compiled UVM features. You are probably thinking of Questa Sim.
You need to download UVM source files, you can do that here: https://www.accellera.org/downloads/standards/uvm
And you'll need to compile the uvm_pkg as well.
vlog -work work -sv -stats=none C:/work/ST/simulation/tb_captur_1.sv <uvm_pkg path>/uvm_pkg.sv +incdir+<UVM source path>/src
Regards,
Nurina
Hi,
Unfortunately ModelSim does not have pre-compiled UVM features. You are probably thinking of Questa Sim.
You need to download UVM source files, you can do that here: https://www.accellera.org/downloads/standards/uvm
And you'll need to compile the uvm_pkg as well.
vlog -work work -sv -stats=none C:/work/ST/simulation/tb_captur_1.sv <uvm_pkg path>/uvm_pkg.sv +incdir+<UVM source path>/src
Regards,
Nurina
- xuyang5 years ago
New Contributor
Hi Nurina
Thank you for your help, now the compilation can be proceed, and the tb module appears in work lib. Information shows below:
vlog -work work -sv -stats=none C:/work/ST/simulation/tb_capture_1.sv C:/intelFPGA_pro/21.1/modelsim_ase/uvm_lib/src/uvm_pkg.sv +incdir+C:/intelFPGA_pro/21.1/modelsim_ase/uvm_lib/src/
# Model Technology ModelSim - Intel FPGA Edition vlog 2021.1 Compiler 2021.02 Feb 3 2021
# -- Compiling package tb_capture_1_sv_unit
# -- Importing package uvm_pkg
# -- Compiling module tb_capture_1
# -- Compiling package uvm_pkg
#
# Top level modules:
# tb_capture_1But when I load the "tb_capture_1", error happens:
vsim work.tb_capture_1
# vsim work.tb_capture_1
# Start time: 16:32:57 on Jun 10,2021
# ** Fatal: (vsim-7019) Can't locate a C/C++ compiler for 'DPI Export Compilation'.
#
# FATAL ERROR while loading design
# Error loading designShould I also install other software?