| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| README.txt | 2016-04-20 | 2.4 kB | |
| svunit-v3.10.tar.gz | 2016-04-20 | 33.8 kB | |
| svunit-v3.9.tar.gz | 2016-03-10 | 33.0 kB | |
| svunit-v3.8.tar.gz | 2016-02-17 | 33.0 kB | |
| svunit-v3.7.tar.gz | 2015-06-18 | 32.2 kB | |
| svunit-v3.6.tar.gz | 2014-10-16 | 31.7 kB | |
| svunit-v3.5.tar.gz | 2014-09-27 | 31.7 kB | |
| svunit-v3.4.tar.gz | 2014-09-26 | 31.6 kB | |
| svunit-v3.3.tar.gz | 2014-09-25 | 31.5 kB | |
| svunit-v3.2.tar.gz | 2014-08-13 | 31.6 kB | |
| svunit-v3.1.tar.gz | 2014-08-12 | 31.6 kB | |
| svunit-v2.12.tar.gz | 2014-07-03 | 33.7 kB | |
| svunit-v2.11.tar.gz | 2014-05-29 | 100.1 kB | |
| svunit-v2.10.tar.gz | 2014-05-22 | 100.1 kB | |
| svunit-v2.9.tar.gz | 2014-05-08 | 99.9 kB | |
| svunit-v2.8.tar.gz | 2014-04-10 | 99.8 kB | |
| svunit-v2.7.tar.gz | 2014-01-16 | 99.5 kB | |
| svunit-v2.6.tar.gz | 2014-01-14 | 99.3 kB | |
| svunit-v2.5.tar.gz | 2013-09-23 | 99.2 kB | |
| svunit-v2.4.tar.gz | 2013-09-03 | 99.2 kB | |
| svunit-v2.3.tar.gz | 2013-07-19 | 98.9 kB | |
| svunit-v2.1.tar.gz | 2013-06-17 | 98.9 kB | |
| Totals: 22 Items | 1.4 MB | 0 |
################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
################################################################
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
-----------------------------------------------------------
Release Notes...
-----------------------------------------------------------
See RELEASE.txt for release notes
-----------------------------------------------------------
Step-by-step instructions to get a first unit test going...
-----------------------------------------------------------
1) setup the SVUNIT_INSTALL and PATH environment variables
>export SVUNIT_INSTALL=`pwd`
>export PATH=$PATH:$SVUNIT_INSTALL"/bin"
1a) or you can source the Setup.bsh (if you use the bash shell)
>source Setup.bsh
1b) or you can source the Setup.csh (if you use the csh shell)
>source Setup.csh
2) go somewhere outside SVUNIT_INSTALL (i.e. where you are right now)
and start a class-under-test
---
bogus.sv:
class bogus;
endclass
---
3) generate the unit test
>create_unit_test.pl bogus.sv
4) add tests using the helper macros
---
bogus_unit_test.sv:
`SVUNIT_TESTS_BEGIN
//===================================
// Unit test: test_mytest
//===================================
`SVTEST(test_mytest)
`SVTEST_END
`SVUNIT_TESTS_END
---
5) run the unittests
>runSVUnit -s <simulator> # simulator is ius, questa, modelsim, riviera or vcs
6) repeat steps 4 and 5 until done
7) pat self on back