UVM-UTest Getting Started

Why UVM-UTest?

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).

Get the latest version of SVUnit from Sourceforge

  • Download the latest version of SVUnit from sourceforge by clicking the big blue button to the right.
  • Extract the SVUnit archive
    • Screen Shot 2013-06-03 at 4.29.40 PM
  • Source the SVUnit setup script (bash users source Setup.bsh. csh users source Setup.csh)
    • Screen Shot 2013-06-03 at 4.39.25 PM

Step 2: Download and Run UVM-UTest

Now it’s just a matter of fetching UVM-UTest and running the tests…

Get the latest version of UVM-UTest from Github

  • Download the latest version of UVM-UTest from github by clicking the big green button to the right.
  • Extract the UVM-UTest archive
    • Screen Shot 2013-06-04 at 9.47.57 AM
  • ‘cd’ to the directory where the unit tests live
    • Screen Shot 2013-06-04 at 9.48.39 AM
  • Run UVM-UTest with your simulator of choice
    • For Mentor Questa
      • Screen Shot 2013-06-04 at 9.55.31 AM
    • For Cadence Incisive
      • Screen Shot 2013-06-04 at 10.42.03 AM
    • For Synopsys VCS
      • Screen Shot 2013-06-04 at 10.42.12 AM

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 neil.johnson@agilesoc.com
  • Await further instruction
Share/Bookmark

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>