Forum Discussion

xuyang's avatar
xuyang
Icon for New Contributor rankNew Contributor
5 years ago
Solved

Modelsim ASE starter not directly support UVM

Hi Guys, I installed modelsim ASE starter edition 2021.02. From common knowledge, I thought this tool has pre-compiled UVM features. But after I installed, I found `include "uvm_macros.svh" cannot ...
  • Nurina's avatar
    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