# \[ANN\] Ruby-VPI 12.0.1

**URL:** <https://www.ruby-forum.com/t/ann-ruby-vpi-12-0-1/79765>\
**Category:** Ruby\
**Created:** [December 18, 2006, 9:17pm UTC](https://www.ruby-forum.com/t/ann-ruby-vpi-12-0-1/79765 "2006-12-18T21:17:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![snk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d9b06d/32.png) [@snk](https://www.ruby-forum.com/u/snk)\
**Post date:** [December 18, 2006, 9:17pm UTC](https://www.ruby-forum.com/t/ann-ruby-vpi-12-0-1/79765/1 "2006-12-18T21:17:22Z")

</div>

Ruby-VPI is a Ruby interface to Verilog VPI. It lets you create  
complex Verilog test benches easily and wholly in Ruby.

Website: [http://ruby-vpi.rubyforge.org](http://ruby-vpi.rubyforge.org)

Install: gem install ruby-vpi

Version 12.0.1 (2006-12-18)

Summary

This release fixes a problem in code coverage analysis.

Acknowledgment

Thanks to Mauricio F. for helping me solve the  
problem.

Detail

Previously, code coverage reports were not providing any  
useful information because they were being generated before  
the test had a chance to run. This problem has been  
fixedâ€”code coverage reports are now generated after the  
test has finished running.

This problem was wholly due to programmer error – i.e. my  
mistake 😉 – because I had forgotten that Kernel.at\_exit  
invokes the blocks passed to it in reverse order. So, the  
coverage report was being generated before Test::Unit had a  
chance to run (it also uses Kernel.at\_exit).

---

<div class="post-metadata">

**Author:** ![snk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d9b06d/32.png) [@snk](https://www.ruby-forum.com/u/snk)\
**Post date:** [December 19, 2006, 12:33am UTC](https://www.ruby-forum.com/t/ann-ruby-vpi-12-0-1/79765/2 "2006-12-19T00:33:43Z")

</div>

Hello,

There was a problem in the 12.0.1 gem, where the generate\_test.rb and  
header\_to\_ruby.rb tools were not being installed properly.

I have released a new 12.0.2 package which fixes this problem:

[http://rubyforge.org/frs/?group\_id=1339&release\_id=8510](http://rubyforge.org/frs/?group_id=1339&release_id=8510)

Sorry for the trouble and thanks for your attention.
