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
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.gzand 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
To set up the environment variable, find which shell you are using
$> echo $0Choose 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.2Yes, installing UVM is as simple as that !