1Netlist::Pin(3)       User Contributed Perl Documentation      Netlist::Pin(3)
2
3
4

NAME

6       Verilog::Netlist::Pin - Pin on a Verilog Cell
7

SYNOPSIS

9         use Verilog::Netlist;
10
11         ...
12         my $pin = $cell->find_pin ('pinname');
13         print $pin->name;
14

DESCRIPTION

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

ACCESSORS

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.  This function is deprecated; use nets or
47           nets_sorted instead.
48
49       $self->nets
50           Array of references to the Verilog::Netlist::Net the pin connects
51           to.  Only valid after a link.
52
53       $self->nets_sorted
54           Array of sorted references to the Verilog::Netlist::Net the pin
55           connects to.  Only valid after a link.
56
57       $self->netlist
58           Reference to the Verilog::Netlist the pin is in.
59
60       $self->netname
61           The net name the pin connects to.  This function is deprecated; use
62           pinselects instead.
63
64       $self->pinselects
65           The net names the pins connect to, as an array of
66           Verilog::Netlist::PinSelection elements.
67
68       $self->portname
69           The name of the port connected to.
70
71       $self->port
72           Reference to the Verilog::Netlist::Port the pin connects to.  Only
73           valid after a link.
74

MEMBER FUNCTIONS

76       See also Verilog::Netlist::Subclass for additional accessors and
77       methods.
78
79       $self->lint
80           Checks the pin for errors.  Normally called by
81           Verilog::Netlist::lint.
82
83       $self->dump
84           Prints debugging information for this pin.
85

DISTRIBUTION

87       Verilog-Perl is part of the <http://www.veripool.org/> free Verilog EDA
88       software tool suite.  The latest version is available from CPAN and
89       from <http://www.veripool.org/verilog-perl>.
90
91       Copyright 2000-2018 by Wilson Snyder.  This package is free software;
92       you can redistribute it and/or modify it under the terms of either the
93       GNU Lesser General Public License Version 3 or the Perl Artistic
94       License Version 2.0.
95

AUTHORS

97       Wilson Snyder <wsnyder@wsnyder.org>
98

SEE ALSO

100       Verilog-Perl, Verilog::Netlist::Subclass Verilog::Netlist
101
102
103
104perl v5.28.0                      2018-10-28                   Netlist::Pin(3)
Impressum