Netlist::Cell(3)
π NAME π
okay bestie, welcome to Netlist::Cell(3) β the user-contributed Perl documentation for Verilog::Netlist::Cell π
β¨
Verilog::Netlist::Cell β instantiated cell within a Verilog Netlist. That's the whole vibe: it's one instantiation living its main character life inside your module π«Ά.
β¨ SYNOPSIS β¨
okay so the tiny example is literally:
use Verilog::Netlist;
...
my $cell = $module->find_cell('cellname');
print $cell->name;
π¦ DESCRIPTION π¦
A Verilog::Netlist::Cell object is created by Verilog::Netlist for every instantiation in the current module. No cap, every instantiation gets one π.
π ACCESSORS π
See also Verilog::Netlist::Subclass for additional accessors and methods. (Yes, the parent class has more stuff β go look π.)
$self->commentβ returns any comments following the definition. You literally have to passkeep_comments=>1toVerilog::Netlist::newfor comments to be retained, or they're not sticking around π« .$self->deleteβ deletes the cell from the module it's under.$self->gateprimβ true if the cell is a gate primitive instantiation (buf/cmos/etc), but not a UDP.$self->moduleβ pointer to the module the cell is in.$self->nameβ the instantiation name of the cell.$self->netlistβ reference to theVerilog::Netlistthe cell is under.$self->pinsβ list ofVerilog::Netlist::Pinconnections for the cell.$self->pins_sortedβ list of name sortedVerilog::Netlist::Pinconnections for the cell.$self->rangeβ the range for the cell (e.g."[1:0]") or false (i.e.undefor"") if not ranged.$self->submodβ reference to theVerilog::Netlist::Modulethe cell instantiates. Only valid after the design is linked β don't try it before, bestie π¨.$self->submodnameβ the module name the cell instantiates (under the cell).
π MEMBER FUNCTIONS π
See also Verilog::Netlist::Subclass for additional accessors and methods. (Same note as above, because consistency is iconic β¨.)
$self->lintβ checks the cell for errors. Normally called byVerilog::Netlist::lint.$self->new_pinβ creates a newVerilog::Netlist::Pinconnection for this cell.$self->pins_sortedβ returns allVerilog::Netlist::Pinconnections for this cell. (Yep, she's also up in ACCESSORS β she contains multitudes π .)$self->dumpβ prints debugging information for this cell.
π 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-PerlVerilog::Netlist::SubclassVerilog::Netlist
xoxo, this page is from perl v5.42.0, dated 2025-07-25 β bye bestie ππ
π¦ 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