UVM-UTest is an open-source demonstration that shows the value of unit testing legacy code. If you’ve got legacy code (who doesn’t??) and/or you’re a person that cares about the UVM framework having the highest quality of code possible, then you’ll be interested in UVM-UTest.
Step 1: SVUnit Download and Setup
UVM-UTest runs on the SVUnit unit testing framework so you’ll need SVUnit first. Don’t worry if you haven’t got SVUnit, it’s quite easy to download and setup (if you want to know more about getting started with SVUnit, see SVUnit Getting Started).
- Download the latest version of SVUnit from sourceforge by clicking the big blue button to the right.
- Extract the SVUnit archive
- Source the SVUnit setup script (bash users source Setup.bsh. csh users source Setup.csh)
Step 2: Download and Run UVM-UTest
Now it’s just a matter of fetching UVM-UTest and running the tests…
- Download the latest version of UVM-UTest from github by clicking the big green button to the right.
- Extract the UVM-UTest archive
- ‘cd’ to the directory where the unit tests live
- Run UVM-UTest with your simulator of choice
Step 3: Contribute to UVM-UTest
Running UVM-UTest is easy. Anyone can do that! If you really care – I mean really care – you’ll ask us how you can contribute to UVM-UTest :).
- Let us know you’re interested in contributing by contacting us at firstname.lastname@example.org
- Await further instruction