Netlist::Port(3)
okay so bestie π welcome to Netlist::Port(3) from the User Contributed Perl Documentation β she's a Perl manual page, she's highkey iconic, and she's here to explain the port object for a Verilog module. grab a strawberry π and let's get into it.
πΈ NAME πΈ
Verilog::Netlist::Port - Port for a Verilog Module. it's giving port object realness, periodt. π
β¨ SYNOPSIS β¨
the vibe is literally:
use Verilog::Netlist;
...
my $port = $module->find_port('pinname');
print $port->name;
π DESCRIPTION π
a Verilog::Netlist::Port object is created by Verilog::Netlist::Module for every port connection in the module. that's lowkey the origin story, no cap. π¦
π«Ά ACCESSORS π«Ά
see also Verilog::Netlist::Subclass for additional accessors and methods. iykyk. β¨
$self->arrayβ any array declaration for the port. important caveat: this only applies to Verilog 1995 style ports, which can declare port bits independently from the signal declarations. when you're using Verilog 2001 style ports, see the matching net declaration'sdata_type,msbandlsbmethods instead, for example"$module-"find_net($port->name)->data_type>. slay, but read the caveat. π$self->commentβ returns any comments following the definition. for those comments to be retained,keep_comments=>1must be passed toVerilog::Netlist::new. that flag is the whole vibe check. π$self->data_typeβ the SystemVerilog data type of the port. she's giving type info. π¦$self->directionβ the direction of the port:"in","out", or"inout". the way that she just tells you which way the signal is going? obsessed. π$self->moduleβ reference to theVerilog::Netlist::Modulethe port is in. main character container energy. π$self->nameβ the name of the port. literally just her name. π$self->netβ reference to theVerilog::Netlist::Netthe port connects to. only valid after the netlist is linked, so don't jump the gun bestie. β$self->typeβ approximately an alias ofdata_typefor backward compatibility. do not use for new applications. that's a warning, fr fr. π
π₯ MEMBER FUNCTIONS π₯
again, see also Verilog::Netlist::Subclass for additional accessors and methods. π«Ά
$self->dumpβ prints debugging information for this port. debugging slay, no notes π. πβ¨
π§ 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>. ngl, that's the moment. π₯
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. free software license moment π
π AUTHORS π
Wilson Snyder <wsnyder@wsnyder.org> β the author, the icon, the main character. π
π SEE ALSO π
Verilog-Perl, Verilog::Netlist::Subclass Verilog::Netlist β go read these next, bestie. iykyk. π¦
mwah π this page came from perl v5.42.0, dated 2025-07-25, and its footer is still serving Netlist::Port(3). bye bestie, go slay your netlist. π«Άπ
π¦ where this page comes from
- fedora 43: perl-Verilog-Perl 3.482-6.fc43 Β· LGPL-3.0-only OR Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms