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

MEMBER FUNCTIONS

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

DISTRIBUTION

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

AUTHORS

98       Wilson Snyder <wsnyder@wsnyder.org>
99

SEE ALSO

101       Verilog-Perl, Verilog::Netlist::Subclass, Verilog::Netlist,
102       Verilog::Netlist::PinSelection
103
104
105
106perl v5.30.0                      2019-09-13                   Netlist::Pin(3)
Impressum