Verilog::Netlist::Logger - Error collection and reporting
use Verilog::Netlist::Logger; ... my $self = Verilog::Netlist::Logger->new(); $self->info("We're here\n"); $self->warn("Things look bad\n"); $self->error("Things are even worse\n"); $self->exit_if_error();
The Verilog::Netlist::Logger is used to report all errors detected by Verilog::Netlist::* structures. By default, Verilog::Netlist creates a new Logger object, and passes it down to all contained objects. Users may create their own logger objects to catch or otherwise handle error messages.
Print an error about the object in a standard format. The object must have a fileline method.
Exits the program if any errors were detected. Optionally specify allow=>'warning' to ignore warnings.
Print an informational about the object in a standard format. The object must have a fileline method.
The line number the entity was created on.
Requests the given file be deleted if any errors are detected when the Logger object is destroyed. Used for temporary files.
Print a warning about the object in a standard format. The object must have a fileline method.
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-2013 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, Verilog::Netlist::Subclass
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.