English     Español
[Main Index] : Programming : Languages : Perl : CPAN Modules : Language Interfaces : Verilog : Verilog::Netlist
 Verilog::Netlist::Subclass 

Search

 

Documents

Verilog::Netlist::Subclass - Common routines for all classes (Displayed)

Verilog::Netlist::Subclass - Common routines for all classes



NAME

Verilog::Netlist::Subclass - Common routines for all classes


SYNOPSIS

  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();


DESCRIPTION

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.


MEMBER FUNCTIONS

$self->error (Text...)
Print an error in a standard format.

$self->exit_if_error()
Exits the program if any errors were detected.

$self->filename()
The filename number the entity was created in.

$self->info (Text...)
Print a informational in a standard format.

$self->lineno()
The line number the entity was created on.

$self->unlink_if_error (filename)
Requests the given file be deleted if any errors are detected. Used for temporary files.

$self->userdata (key) =item $self->userdata (key, data)
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.

$self->warn (Text...)
Print a warning in a standard format.


SEE ALSO

the Verilog::Netlist manpage


AUTHORS

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.
   

©Copyright Nicholas Reynolds 2004