Clone this repo:
  1. 76ffd92 Create OWNERS file for chromiumos/third_party/svunit by Jack Neus · 1 year, 1 month ago chromeos factory-14162.B factory-14778.B factory-ambassador-14265.B factory-brya-14517.B factory-brya-14909.124.B factory-cherry-14455.B factory-firmware-ti50-guc-14778.B factory-foobar-15000.B factory-guybrush-14600.B factory-guybrush-14908.B factory-keeby-14162.B factory-kukui-14374.B firmware-14947.B firmware-brya-14505.71.B firmware-brya-14505.B firmware-chameleon-14280.B firmware-chameleon-14947.B firmware-cherry-14454.B firmware-cr50-stab-14294.B firmware-cr50-stab-mp-14300.B firmware-guybrush-14500.B firmware-ti50-prepvt-15086.B release-R100-14526.B release-R101-14588.B release-R102-14695.B release-R103-14816.B release-R104-14909.B release-R105-14989.B release-R106-15054.B release-R107-15117.B release-R96-14268.B release-R97-14324.B release-R98-14388.B release-R99-14469.B stabilize-14163.B stabilize-14178.B stabilize-14179.B stabilize-14189.B stabilize-14217.B stabilize-14235.B stabilize-14238.B stabilize-14249.B stabilize-14267.B stabilize-14268.51.B stabilize-14268.52.B stabilize-14268.67.B stabilize-14285.B stabilize-14312.B stabilize-14321.B stabilize-14324.13.B stabilize-14324.41.B stabilize-14324.62.B stabilize-14324.72.B stabilize-14333.B stabilize-14336.B stabilize-14345.B stabilize-14385.B stabilize-14388.52.B stabilize-14388.61.B stabilize-14388.62.B stabilize-14395.B stabilize-14396.B stabilize-14411.B stabilize-14438.B stabilize-14442.B stabilize-14469.41.B stabilize-14469.58.B stabilize-14469.8.B stabilize-14469.9.B stabilize-14477.B stabilize-14496.B stabilize-14498.B stabilize-14526.57.B stabilize-14526.67.B stabilize-14526.73.B stabilize-14526.84.B stabilize-14526.89.B stabilize-14528.B stabilize-14532.B stabilize-14536.B stabilize-14588.123.B stabilize-14588.14.B stabilize-14588.98.B stabilize-14589.B stabilize-14616.B stabilize-14633.B stabilize-14682.B stabilize-14695.107.B stabilize-14695.85.B stabilize-14771.B stabilize-14790.B stabilize-14803.B stabilize-14816.131.B stabilize-14816.82.B stabilize-14816.84.B stabilize-14839.B stabilize-14909.100.B stabilize-14918.B stabilize-14964.B stabilize-14989.85.B stabilize-14998.B stabilize-15032.B stabilize-15033.B stabilize-15054.26.B stabilize-15072.B stabilize-15083.B stabilize-15086.B stabilize-15120.B stabilize-15122.B stabilize-15129.B stabilize-ambassador-14268.43.B stabilize-quickfix-14526.91.B stabilize-quickfix-14695.124.B stabilize-rust-14220.B stabilize-rust-14224.B stabilize-rust-14225.B stabilize-voshyr-14637.B stabilize-wristpin-14469.59.B
  2. 3ff8a57 Merge pull request #113 from Plasteli-net/fix-pytest by Tudor Timi · 1 year, 1 month ago
  3. 4a03628 Remove extraneous '.' from file path in 'expect' by Tudor Timi · 1 year, 1 month ago
  4. 59a539b Fix 'sim_8' test by Tudor Timi · 1 year, 1 month ago
  5. 44d562b Disable 'uvm_report_mock' tests for UVM 1.2 by Tudor Timi · 1 year, 1 month ago


SVUnit is an open-source test framework for ASIC and FPGA developers writing Verilog/SystemVerilog code. SVUnit is automated, fast, lightweight and easy to use making it the only SystemVerilog test framework in existence suited to both design and verification engineers that aspire to high quality code and low bug rates.

NOTE: for instructions on how to get going with SVUnit, go to

NOTE: Refer also to the FAQ at:

Release Notes

Go here for release notes.

Step-by-step instructions to get a first unit test going

1. Set up the SVUNIT_INSTALL and PATH environment variables

export SVUNIT_INSTALL=`pwd`

You can source Setup.bsh if you use the bash shell.

source Setup.bsh

You can source Setup.csh if you use the csh shell.

source Setup.csh

2. Go somewhere outside SVUNIT_INSTALL (i.e. where you are right now)

Start a class-under-test:

// file:
class bogus;

3. Generate the unit test

4. Add tests using the helper macros

// file:

  // Unit test: test_mytest


5. Run the unit tests

runSVUnit -s <simulator> # simulator is ius, questa, modelsim, riviera or vcs

6. Repeat steps 4 and 5 until done

7. Pat self on back