1Netlist::Cell(3) User Contributed Perl Documentation Netlist::Cell(3)
2
3
4
6 Verilog::Netlist::Cell - Instantiated cell within a Verilog Netlist
7
9 use Verilog::Netlist;
10
11 ...
12 my $cell = $module->find_cell ('cellname');
13 print $cell->name;
14
16 A Verilog::Netlist::Cell object is created by Verilog::Netlist for
17 every instantiation in the current module.
18
20 See also Verilog::Netlist::Subclass for additional accessors and
21 methods.
22
23 $self->comment
24 Returns any comments following the definition. keep_comments=>1
25 must be passed to Verilog::Netlist::new for comments to be
26 retained.
27
28 $self->delete
29 Delete the cell from the module it's under.
30
31 $self->gateprim
32 True if the cell is a gate primitive instantiation (buf/cmos/etc),
33 but not a UDP.
34
35 $self->module
36 Pointer to the module the cell is in.
37
38 $self->name
39 The instantiation name of the cell.
40
41 $self->netlist
42 Reference to the Verilog::Netlist the cell is under.
43
44 $self->pins
45 List of Verilog::Netlist::Pin connections for the cell.
46
47 $self->pins_sorted
48 List of name sorted Verilog::Netlist::Pin connections for the cell.
49
50 $self->submod
51 Reference to the Verilog::Netlist::Module the cell instantiates.
52 Only valid after the design is linked.
53
54 $self->submodname
55 The module name the cell instantiates (under the cell).
56
58 See also Verilog::Netlist::Subclass for additional accessors and
59 methods.
60
61 $self->lint
62 Checks the cell for errors. Normally called by
63 Verilog::Netlist::lint.
64
65 $self->new_pin
66 Creates a new Verilog::Netlist::Pin connection for this cell.
67
68 $self->pins_sorted
69 Returns all Verilog::Netlist::Pin connections for this cell.
70
71 $self->dump
72 Prints debugging information for this cell.
73
75 Verilog-Perl is part of the <http://www.veripool.org/> free Verilog EDA
76 software tool suite. The latest version is available from CPAN and
77 from http://www.veripool.org/verilog-perl
78 <http://www.veripool.org/verilog-perl>.
79
80 Copyright 2000-2009 by Wilson Snyder. This package is free software;
81 you can redistribute it and/or modify it under the terms of either the
82 GNU Lesser General Public License Version 3 or the Perl Artistic
83 License Version 2.0.
84
86 Wilson Snyder <wsnyder@wsnyder.org>
87
89 Verilog-Perl, Verilog::Netlist::Subclass Verilog::Netlist
90
91
92
93perl v5.12.0 2009-07-20 Netlist::Cell(3)