This is the Verilog::Pli Perl Package.
This package is Copyright 1998-2007 by Wilson Snyder <wsnyder@wsnyder.org>.
You may distribute under the terms of either the GNU General Public License or the Perl Artistic License, as specified in the Perl README file.
This code is provided with no warranty of any kind, and is used entirely at your own risk.
This package provides access to Verilog PLI routines from within Perl.
$NET{a_signal} = 1
do_stop();
See `man Verilog::Pli' after installation.
The latest version is available at `http://www.perl.org/CPAN/'
Download the latest package from that site, and decompress. `gunzip Verilog-Pli_version.tar.gz ; tar xvf Verilog-Pli_version.tar'
This version of Verilog::Pli has been built and tested on:
It should run on any system with Perl and VCS or other Verilog simulator with minor porting.
You will need a perl interpreter inside your simulator to make this package useful. A example verilog file, pli C wrapper and all is inside the example directory. This example uses VCS, but will work with minor modifications with Verilog-XL and other Verilog simulators with a PLI.
Thanks to Tom Kraljevic <tomk@titanic.Abrizio.COM> for this example.