Verilog::Netlist::Subclass - Common routines for all classes
use Verilog::Netlist::Subclass; package Verilog::Netlist::Something; @ISA = qw(Verilog::Netlist::Subclass); ... $self->info("We're here\n"); $self->warn("Things look bad\n"); $self->error("Things are even worse\n"); $self->exit_if_error();
Verilog::Netlist::Subclass is used as a base class for all structures. It is mainly used so that $self->warn() and $self->error() will produce consistent results.
Print an error in a standard format.
Exits the program if any errors were detected.
The filename number the entity was created in.
Print a informational in a standard format.
The line number the entity was created on.
Requests the given file be deleted if any errors are detected. Used for temporary files.
Sets (with two arguments) or retrieves the specified key from an opaque hash. This may be used to store application data on the specified node.
Print a warning in a standard format.
The latest version is available from CPAN and from http://www.veripool.com/verilog-perl.html.
Copyright 2000-2005 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 or the Perl Artistic License.
Wilson Snyder <wsnyder@wsnyder.org>
Verilog::Netlist
To install Verilog::Parse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Verilog::Parse
CPAN shell
perl -MCPAN -e shell install Verilog::Parse
For more information on module installation, please visit the detailed CPAN module installation guide.