commit | 44d562b40639868e1a6883e6f226fe1f6365a570 | [log] [tgz] |
---|---|---|
author | Tudor Timi <tudortimi@users.noreply.github.com> | Sun Aug 15 17:01:01 2021 |
committer | Tudor Timi <tudortimi@users.noreply.github.com> | Mon Aug 16 19:33:53 2021 |
tree | 92406eb0ac83566d35c11dfefe051744e1b54ae4 | |
parent | c82f8cb43107faf67a29668eef3d69204ac36984 [diff] |
Disable 'uvm_report_mock' tests for UVM 1.2 'uvm_report_mock' must have gotten busted during the time the tests were broken. It's out of the scope of this activity to fix it, as we're only focused on the testing setup. Xcelium 20.09 (used for testing) uses UVM 1.2 by default, hence we have to disable the 'test_mock_uvm_report' test as well.
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 www.agilesoc.com/svunit.
NOTE: Refer also to the FAQ at: www.agilesoc.com/svunit/svunit-FAQ
Go here for release notes.
SVUNIT_INSTALL
and PATH
environment variablesexport SVUNIT_INSTALL=`pwd` export PATH=$PATH:$SVUNIT_INSTALL"/bin"
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
SVUNIT_INSTALL
(i.e. where you are right now)Start a class-under-test:
// file: bogus.sv class bogus; endclass
create_unit_test.pl bogus.sv
// file: bogus_unit_test.sv `SVUNIT_TESTS_BEGIN //=================================== // Unit test: test_mytest //=================================== `SVTEST(test_mytest) `SVTEST_END `SVUNIT_TESTS_END
runSVUnit -s <simulator> # simulator is ius, questa, modelsim, riviera or vcs