Verilog::Netlist::ModPort - ModPort within a Verilog Interface
use Verilog::Netlist; ... my $interface = $netlist->find_interface('name'); my $modport = $interface->find_modport('name')
A Verilog::Netlist::ModPort object is created by Verilog::Netlist::Interface for every modport under the interface.
See also Verilog::Netlist::Subclass for additional accessors and methods.
Returns any comments following the definition. keep_comments=>1 must be passed to Verilog::Netlist::new for comments to be retained.
Prints debugging information for this modport.
Returns Verilog::Netlist::Net matching given name.
Returns the port name associated with the given index.
Returns Verilog::Netlist::Interface the ModPort belongs to.
Checks the modport for errors.
The name of the modport.
Reference to the Verilog::Netlist the modport is under.
Returns list of references to Verilog::Netlist::Net in the interface.
Returns list of name sorted references to Verilog::Netlist::Net in the interface.
Returns list of name sorted references to Verilog::Netlist::Net and Verilog::Netlist::Port in the modport.
Returns list of references to Verilog::Netlist::Port in the modport.
Returns list of references to Verilog::Netlist::Port in the modport sorted by pin number.
Returns list of references to Verilog::Netlist::Port in the modport sorted by name.
Returns verilog code which represents this modport. Returned as an array that must be joined together to form the final text string. The netlist must be already ->link'ed for this to work correctly.
Verilog-Perl is part of the http://www.veripool.org/ free Verilog EDA software tool suite. The latest version is available from CPAN and from http://www.veripool.org/verilog-perl.
Copyright 2000-2015 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.
Wilson Snyder <wsnyder@wsnyder.org>
Verilog-Perl, Verilog::Netlist::Subclass Verilog::Netlist::Interface Verilog::Netlist
To install Verilog::Std, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Verilog::Std
CPAN shell
perl -MCPAN -e shell install Verilog::Std
For more information on module installation, please visit the detailed CPAN module installation guide.