Welcome ! This website will help YOU (recent graduates/professionals) learn verification languages like SystemVerilog and UVM. Register for free and access more content !

To start practicing UVM, you would need one of the following :

  • Linux terminal with a suitable simulator
  • Use UVM libraries with Modelsim in Windows
  • EDA Playground
How to play in EDA Playground already contains details on how to run simulations in their website. So, let's focus on how you can download, install and run simulations on your own linux terminal. Before we proceed, make sure that you have EDA licenses installed in your system to run simulations. You can verify this by trying to run a simple SystemVerilog code.


Windows

Watch our video on how to download UVM libraries and install Modelsim.

Modelsim Installation

Linux

Step 1

Click here to download UVM source files

Or

Go to Accellera and download the UVM 1.2 Reference Implementation



Click on Class Library Code and your download will start. Note that it is in .tar.gz format.

Step 2

Copy the file uvm-1.2.tar.gz into your Linux local workarea, using WinSCP or something similar.

Step 3

Access your workarea through a Linux terminal and extract the .tar.gz file by executing the command

$> tar -xvf uvm-1.2.tar.gz 
and you'll see the folder uvm-1.2 in the same folder.

Step 4

Now all you need to do is include the path to uvm-1.2 directory by using -incdir [path to uvm-1.2] for ncsim or a similar switch for your EDA tool and run the simulation. Or, you can set up an environment variable called $UVM_HOME that points to the folder uvm-1.2 and use -incdir $UVM_HOME.
To set up the environment variable, find which shell you are using

$> echo $0
Choose the appropriate command style for your shell and execute it.
# Choose this for tcsh
$> setenv UVM_HOME  [path_to_your_workarea]/uvm-1.2

# Choose this for bash
$> export UVM_HOME=[path_to_your_workarea]/uvm-1.2
Yes, installing UVM is as simple as that !

Was this article helpful ?

We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. You consent to our cookies if you continue to use our website. To find out more about the cookies we use and how to delete them, see our privacy policy.

  I accept cookies from this site.
Agree
EU Cookie Directive plugin by www.channeldigital.co.uk