Netlist::Pin(3)

✨ NAME ✨

Verilog::Netlist::Pin β€” Pin on a Verilog Cell πŸŽ€

hey bestie, you're reading the Netlist::Pin(3) page from the User Contributed Perl Documentation section, and it's literally all about pins on Verilog cells πŸ’–


🌸 SYNOPSIS 🌸

okay so here's the quickstart vibe, no cap:

  use Verilog::Netlist;

  ...
  my $pin = $cell->find_pin('pinname');
  print $pin->name;

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so a Verilog::Netlist::Pin object gets created by Verilog::Netlist::Cell for each pin connection on a cell. A Pin connects a net in the current design to a port on the instantiated cell's module. iconic, honestly ✨


πŸ’… ACCESSORS πŸ’…

See also Verilog::Netlist::Subclass for additional accessors and methods.

  • $self->cell β€” Reference to the Verilog::Netlist::Cell the pin is under.
  • $self->comment β€” Returns any comments following the definition. keep_comments=>1 must be passed to Verilog::Netlist::new for comments to be retained.
  • $self->delete β€” Delete the pin from the cell it's under.
  • $self->module β€” Reference to the Verilog::Netlist::Module the pin is in.
  • $self->name β€” The name of the pin. May have extra characters to make vectors connect, generally portname is a more readable version. There may be multiple pins with the same portname, only one pin has a given name.
  • $self->net β€” Reference to the Verilog::Netlist::Net the pin connects to. Only valid after a link. This function is deprecated; use nets or nets_sorted instead.
  • $self->nets β€” Array of hashes the pin connects to. Each hash contains a msb, lsb, and net (a Verilog::Netlist::Net). Only valid after a link.
  • $self->nets_sorted β€” Array of sorted hashes the pin connects to. Each hash contains a msb, lsb, and net (a Verilog::Netlist::Net). Only valid after a link.
  • $self->netlist β€” Reference to the Verilog::Netlist the pin is in.
  • $self->netname β€” The net name the pin connects to. This function is deprecated; use pinselects instead.
  • $self->pinselects β€” The net names the pins connect to, as an array of Verilog::Netlist::PinSelection elements.
  • $self->portname β€” The name of the port connected to.
  • $self->port β€” Reference to the Verilog::Netlist::Port the pin connects to. Only valid after a link.

πŸ”₯ MEMBER FUNCTIONS πŸ”₯

See also Verilog::Netlist::Subclass for additional accessors and methods.

  • $self->lint β€” Checks the pin for errors. Normally called by Verilog::Netlist::lint.
  • $self->dump β€” Prints debugging information for this pin.

🌈 DISTRIBUTION 🌈

Verilog-Perl is part of the <https://www.veripool.org/> free Verilog EDA software tool suite. The latest version is available from CPAN and from <https://www.veripool.org/verilog-perl>.

Copyright 2000-2024 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.


🫢 AUTHORS 🫢

Wilson Snyder <wsnyder@wsnyder.org>


🧚 SEE ALSO 🧚

  • Verilog-Perl
  • Verilog::Netlist::Subclass
  • Verilog::Netlist
  • Verilog::Netlist::PinSelection

okay bestie, that's the whole page β€” the footer tea is perl v5.42.0, dated 2025-07-25, on Netlist::Pin(3). mwah πŸ’–βœ¨

πŸ“¦ where this page comes from