Introduction to Verilog::Pli

Written by Wilson Snyder <>.

Verilog::Pli is no longer being used nor supported.

Verilog::Pli provides the ability to call Verilog PLI functions from inside Perl.

$cmd("print 'Inside perl, on ', `date`, \"\\n\";");
$display(" 1 + 2 = %x\n", $cmdval("1+2"));
$cmd("$Sparse{", 230000, "}", "=", 32'hfeed);
$cmd("$NET{w} = 0;");

And, the ability to access the value of Verilog nets from Perl.

print 'The value of wire x is ', $NET{x}, "\n";