1Netlist::Pin(3) User Contributed Perl Documentation Netlist::Pin(3)
2
3
4
6 Verilog::Netlist::Pin - Pin on a Verilog Cell
7
9 use Verilog::Netlist;
10
11 ...
12 my $pin = $cell->find_pin ('pinname');
13 print $pin->name;
14
16 A Verilog::Netlist::Pin object is created by Verilog::Netlist::Cell for
17 for each pin connection on a cell. A Pin connects a net in the current
18 design to a port on the instantiated cell's module.
19
21 See also Verilog::Netlist::Subclass for additional accessors and
22 methods.
23
24 $self->cell
25 Reference to the Verilog::Netlist::Cell the pin is under.
26
27 $self->comment
28 Returns any comments following the definition. keep_comments=>1
29 must be passed to Verilog::Netlist::new for comments to be
30 retained.
31
32 $self->delete
33 Delete the pin from the cell it's under.
34
35 $self->module
36 Reference to the Verilog::Netlist::Module the pin is in.
37
38 $self->name
39 The name of the pin. May have extra characters to make vectors
40 connect, generally portname is a more readable version. There may
41 be multiple pins with the same portname, only one pin has a given
42 name.
43
44 $self->net
45 Reference to the Verilog::Netlist::Net the pin connects to. Only
46 valid after a link.
47
48 $self->netlist
49 Reference to the Verilog::Netlist the pin is in.
50
51 $self->netname
52 The net name the pin connects to.
53
54 $self->portname
55 The name of the port connected to.
56
57 $self->port
58 Reference to the Verilog::Netlist::Port the pin connects to. Only
59 valid after a link.
60
62 See also Verilog::Netlist::Subclass for additional accessors and
63 methods.
64
65 $self->lint
66 Checks the pin for errors. Normally called by
67 Verilog::Netlist::lint.
68
69 $self->dump
70 Prints debugging information for this pin.
71
73 Verilog-Perl is part of the <http://www.veripool.org/> free Verilog EDA
74 software tool suite. The latest version is available from CPAN and
75 from http://www.veripool.org/verilog-perl
76 <http://www.veripool.org/verilog-perl>.
77
78 Copyright 2000-2010 by Wilson Snyder. This package is free software;
79 you can redistribute it and/or modify it under the terms of either the
80 GNU Lesser General Public License Version 3 or the Perl Artistic
81 License Version 2.0.
82
84 Wilson Snyder <wsnyder@wsnyder.org>
85
87 Verilog-Perl, Verilog::Netlist::Subclass Verilog::Netlist
88
89
90
91perl v5.12.2 2010-10-25 Netlist::Pin(3)