The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Verilog::Netlist::Module - Module within a Verilog Netlist

SYNOPSIS

  use Verilog::Netlist;

  ...
  my $module = $netlist->find_module('modname');
  my $cell = $self->find_cell('name')
  my $port =  $self->find_port('name')
  my $net =  $self->find_net('name')

DESCRIPTION

Verilog::Netlist creates a module for every file in the design.

ACCESSORS

$self->cells

Returns list of references to Verilog::Netlist::Cell in the module.

$self->filename

The filename the module was created in.

$self->lineno

The line number the module was created on.

$self->name

The name of the module.

$self->ports

Returns list of references to Verilog::Netlist::Port in the module.

$self->nets

Returns list of references to Verilog::Netlist::Net in the module.

MEMBER FUNCTIONS

$self->autos

Updates the AUTOs for the module.

$self->find_cell($name)

Returns Verilog::Netlist::Cell matching given name.

$self->find_port($name)

Returns Verilog::Netlist::Port matching given name.

$self->find_net($name)

Returns Verilog::Netlist::Net matching given name.

$self->lint

Checks the module for errors.

Creates interconnections between this module and other modules.

$self->new_cell

Creates a new Verilog::Netlist::Cell.

$self->new_port

Creates a new Verilog::Netlist::Port.

$self->new_net

Creates a new Verilog::Netlist::Net.

$self->dump

Prints debugging information for this module.

SEE ALSO

Verilog::Netlist

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>