Ruby-VPI is a platform for unit testing, rapid prototyping, and systems integration of Verilog modules through the Ruby programming language. It lets you:
Ruby-VPI is open source software released under this license.
Records
Documentation
Facilities
Portable
Agile
Powerful
The following software is necessary in order to use Ruby-VPI.
Verilog simulator
Ruby-VPI is known to work with the following simulators. However, you should be able to use it with any Verilog simulator that supports VPI.Compilers
Libraries
Here is a tiny sampling of code to whet your appetite. See the tutorial for more samples.
your_register.intVal = 2 ** 2048
your_module.all_net? { |net| net.z? }
puts your_register
your_memory.memoryWord_a[0..4]
your_memory.each_memoryWord {|w| w.intVal = 0}
Copyright 2006 Suraj N. Kurapati <snk@gna.org>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1. All modified and unmodified copies and substantial portions of the Software (the "Derivatives") and their corresponding machine-readable source code (the "Code") must include the above copyright notice and this permission notice.
2. Upon distribution, the Derivatives must be accompanied either by the Code or, if the Code is obtainable for no more than the cost of distribution plus a nominal fee, by information on how to obtain the Code.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.