Q. Why would I use SVUnit?

Good question. You’ll want to use SVUnit if you and your customers value defect free systemverilog code. Simple as that.

Q. What do I do with SVUnit?

The SVUnit framework allows you to easily isolate modules, classes and/or interfaces in your designs and testbenches so you can kill bugs at a granularity that is most productive: the unit test level. It’s good for design and verification engineers. It’s also great for test-driven development if you care enough to prevent defects in the first place.

Q. Why would I not use SVUnit?

A. If you love garbage code and irate customers, then SVUnit is not for you.

Q. How do I get SVUnit?

A. Instructions for downloading and using SVUnit are on the Getting Started page.

Q. It used to be that SVUnit was only available to early adopters. That still the case?

A. Nope… not any more. Now anyone can download SVUnit.

Q. What’s the best way to learn how to use SVUnit?

A. It’s best to start with the Getting Started page.

Q. If I find a problem or have questions about SVUnit, what do I do?

A. Best to file a ticket on GitHub at: Or, you can send me an email at and I’ll do my best to help you out.

Q. Can anyone file a ticket against the project?

A. Yes… though you’ll have to be logged into GitHub to do so.

Q. How can I connect with other SVUnit users?

A. We have an SVUnit User Group where people can reach out with questions and share their experience. Anyone can join.

Q. How do I use SVUnit with UVM?

A. Specify the -U/–uvm switch on the command line to use the version of UVM supported by the simulator you’re using.

12 thoughts on “SVUnit FAQ

    1. I haven’t done it but I’m pretty sure the answer is yet… though I’d need to make some scripting updates. I don’t have a modelsim license, but if you’re willing to play guinea pig, we could make it work with a little back-and-forth trial-and-error. let me know if that works for you.


        1. I’m interested in getting SVUnit running with modelsim also.

          Did you guys make any progress with it?

          If not, I’m willing to be the guinea pig as well.


    1. dave, working with LeRoss on this a bit this morning… he’s got a command line that’s good with modelsim. now the ball is in my court to get a new modelsim makefile into a release and posted on sourceforge. I should be able to get to that this coming wednesday evening.


      1. I needed to add a simulator argument, and I think that it is project specific.

        Since it is project specific, I don’t want to change SIM_ARGS in Currently clears SIM_ARGS.

        Can we change SIM_ARGS to clear itself and then add something like SIM_ARGS_PRJ ?

        ie change
        SIM_ARGS :=
        SIM_ARGS :=

          1. 2nd person in 2 days that’s point this out. I’ll add a test for this and release asap.


    1. Dave. You should see support for modelsim in SVUnit 2.6 that I just posted to sourceforge. You can follow all the directions as is except where you see, you can put… or just keep b/c both files are the same ;). LeRoss is running already. If we can go 2-for-2, I’d say we’re good with modelsim support.


Leave a Reply to LeRoss Calnek Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.