Search
Documents
Verilog::Pli::Net - Verilog PLI tied net access hash (Displayed)
|
Verilog::Pli::Net - Verilog PLI tied net access hash
Verilog::Pli::Net - Verilog PLI tied net access hash
use Verilog::Pli::Net;
$NET{"hier.signal"} = 1;
print "Signal now is ", $NET{"hier.signal"};
foreach (keys %NET) { print "Found signal $_\n"; }
(exists $NET{"bad"}) or die "Net 'bad' doesn't exist.";
tie %PLINET, 'Verilog::Pli::Net', 'top.hier.submod.pli;
print "top.hier.submod.pli.something = ", $PLINET{"something"}, "\n";
This package creates a tied hash %NET, that fetching from or storing to
affects the Verilog signal named the same as the hash key. The hiearchy
may be placed in front of the signal names using standard dot notation, or
if not found, the scope from when the tie was established, or later scope()
calls is prepended to the passed signal name.
Signal names may have a leading %b: %d: %x: or %s: to return or set the
value in the binary, decimal, hex, or string format respectively. Values
may have a leading 0b or 0x to set the value in binary or hex format
respectively.
- scope
-
Read or change the default scope used when a signal is not found with the
name passed. Note you need to pass the class, use the tied function to
convert from the tied hash to the class name.
Verilog::Pli
The latest version is available from CPAN or
http://veripool.com/verilog-perl.
Wilson Snyder <wsnyder@wsnyder.org>
Information
|
This site is currently in testing, it is not yet operating using the full database. Until it is officially launched you may wish to visit Help-Site Computer Manuals. After launch, this site (HelpSpy) will replace Help-Site. Information about the spider which is currently trawling the Internet looking for links to add to this directory can be found here. |
|