Netlist::Interface(3)

Okay bestie, welcome to the Netlist::Interface(3) page from the User Contributed Perl Documentation section β€” yes, the Perl one, and it's giving serious Verilog interface energy. πŸ’…

✨ NAME ✨

Verilog::Netlist::Interface β€” Interface within a Verilog Netlist. πŸ¦‹

🌸 SYNOPSIS 🌸

okay so here's the lil starter pack, literally copy-paste vibes:

use Verilog::Netlist;

...
my $interface = $netlist->find_interface('name');
my $cell = $self->find_cell('name')
my $port =  $self->find_port('name')
my $net =  $self->find_net('name')

πŸ’– DESCRIPTION πŸ’–

So here's the tea: a Verilog::Netlist::Interface object is created by Verilog::Netlist for every interface in the design. Every. Single. One. ✨

πŸŽ€ ACCESSORS πŸŽ€

See also Verilog::Netlist::Subclass for additional accessors and methods. πŸ’…

  • $self->comment β€” Returns any comments following the definition. keep_comments=>1 must be passed to Verilog::Netlist::new for comments to be retained. πŸ™ˆ
  • $self->find_port_by_index β€” Returns the port name associated with the given index. πŸ”
  • $self->modports β€” Returns list of references to Verilog::Netlist::ModPort in the interface. πŸŽ€
  • $self->modports_sorted β€” Returns list of references to Verilog::Netlist::ModPort in the interface sorted by name. ⭐
  • $self->name β€” The name of the interface. πŸ‘‘
  • $self->netlist β€” Reference to the Verilog::Netlist the interface is under. 🌸
  • $self->nets β€” Returns list of references to Verilog::Netlist::Net in the interface. πŸ¦‹
  • $self->nets_sorted β€” Returns list of name sorted references to Verilog::Netlist::Net in the interface. 🌈
  • $self->nets_and_ports_sorted β€” Returns list of name sorted references to Verilog::Netlist::Net and Verilog::Netlist::Port in the interface. πŸ’–
  • $self->ports β€” Returns list of references to Verilog::Netlist::Port in the interface. πŸŽ€
  • $self->ports_ordered β€” Returns list of references to Verilog::Netlist::Port in the interface sorted by pin number. πŸ”’
  • $self->ports_sorted β€” Returns list of references to Verilog::Netlist::Port in the interface sorted by name. ⭐

πŸ¦‹ MEMBER FUNCTIONS πŸ¦‹

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

  • $self->find_net(name) β€” Returns Verilog::Netlist::Net matching given name. πŸ”
  • $self->level β€” Returns the reverse depth of this interface with respect to other modules and interfaces. See also Netlist's modules_sorted_level. πŸ“
  • $self->lint β€” Checks the interface for errors. 🚨
  • $self->link β€” Creates interconnections between this interface and other interfaces. πŸ”—
  • $self->new_net β€” Creates a new Verilog::Netlist::Net. ✨
  • $self->dump β€” Prints debugging information for this interface. 🐞
  • $self->verilog_text β€” Returns verilog code which represents this interface. Returned as an array that must be joined together to form the final text string. The netlist must be already ->link'ed for this to work correctly. πŸ“

🌈 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

That's the whole page, bestie! πŸ’– It's from perl v5.42.0, dated 2025-07-25, and it's the Netlist::Interface(3) man page β€” periodt. πŸŽ€

πŸ“¦ where this page comes from