This is a living blog page which entails up-to-date metrics.
This is a test plan for the QA of Icarus Verilog used by Free Electronic Lab team before releasing it to the mirrors.
For every FEL iverilog release, the packager maintainer of iverilog is supposed to sync the contents of the ”’Expected”’ section with respect to the overcomes of the latest git version of ivtest.
Tests
ivtests suite
Icarus Verilog developers prepare a regression testsuite called ”ivtest”. There are three tests :
- vvp tests
- vpi tests
- vhdl tests
Details of the last test conducted :
- release : iverilog-0.9.20111101-1.f15.i686
- tester (FAS username) : chitlesh
- date : 01 November 2011
Tkdiff is a very robust and lightweight diff tools used by many CAD engineers in many respectable IC design centers. The FEL team uses tkdiff too to verify the tests against golden results.
Requirements
# yum install git tkcvs ghdl $ git clone git://github.com/steveicarus/ivtest.git
If testing is being carried out before iverilog official release, ensure that you are using the latest iverilog version pushed to ”updates-testing” repository.
# yum install iverilog --enablerepo=updates-testing
VVP tests
Execution
$ cd ivtest $ perl vvp_reg.pl
It should run for a coupled of minutes.
Test Results
Version 0.9.5
Test results: Total=1704, Passed=1539, Failed=1, Not Implemented=129, Expected Fail=85 pr1877743: ==> Failed - output does not match gold file.
Version 0.9.4
Test results: Total=1654, Passed=1522, Failed=8, Not Implemented=90, Expected Fail=34
Version 0.9.3
Total=1542, Passed=1505, Failed=1, Not Implemented=10, Expected Fail=26 pr1877743: ==> Failed - output does not match gold file.
Version 0.9.2
Total=1456, Passed=1440, Failed=1, Not Implemented=6, Expected Fail=9 pr1877743: ==> Failed - output does not match gold file.
This has a bug report in the tracker and should be fixed some time next year when a new expression type for the run time is created.
Verify against golden
$ tkdiff regression_report-v0.9.txt regression_report.txt &
VPI tests
Execution
$ cd ivtest $ perl vpi_reg.pl
It should run for a coupled of seconds.
Test Results
Version 0.9.5
Test results: Total=39, Passed=36, Failed=0, Not Implemented=3
Version 0.9.4
Test results: Total=38, Passed=35, Failed=1, Not Implemented=2
Version 0.9.3
Total=38, Passed=36, Failed=0, Not Implemented=2
Version 0.9.2
Total=35, Passed=34, Failed=0, Not Implemented=1
VHDL tests
Execution
$ cd ivtest $ ./vhdl_reg.pl vhdl_regress.list
It should run for a coupled of minutes.
Test Results
Version 0.9.5
Test results: Total=294, Passed=278, Failed=16, Not Implemented=0, Expected Fail=0
Version 0.9.4
Test results: Total=293, Passed=278, Failed=15, Not Implemented=0, Expected Fail=0
Version 0.9.3
Total=289, Passed=283, Failed=6, Not Implemented=0, Expected Fail=0 reserved: ==> Failed - running ghdl. signed5: ==> Failed - output does not match gold file. tri0: ==> Failed - output does not match gold file. tri0b: ==> Failed - output does not match gold file. tri1: ==> Failed - output does not match gold file. wireland: ==> Failed - running ghdl.
Version 0.9.2
Total=287, Passed=283, Failed=4, Not Implemented=0, Expected Fail=0 tri0: ==> Failed - output does not match gold file. tri0b: ==> Failed - output does not match gold file. tri1: ==> Failed - output does not match gold file. wireland: ==> Failed - running ghdl.
In the process of testing the verilog to vhdl translation, the following bugs were encountered:
- Log files can be found here.
- GHDL Bug filed: sr #2463: internal error: process in timeout – ”Bug report closed”
- Test report to iverilog upstream.
Verify against golden
$ tkdiff vhdl_regression_report-devel.txt vhdl_regression_report.txt &
