Netlist::File(3)

okay bestie, welcome to the Netlist::File(3) page from the User Contributed Perl Documentation corner πŸ’…βœ¨ this one is all about Verilog::Netlist::File, and it’s giving β€œfile containing Verilog code” energy, no cap.

πŸ’– NAME πŸ’–

Verilog::Netlist::File β€” literally a file containing Verilog code. That’s the whole vibe. πŸ¦‹

✨ SYNOPSIS ✨

okay so you open it up like this:

use Verilog::Netlist;

my $nl = new Verilog::Netlist;
my $fileref = $nl->read_file(filename=>'filename');

🌸 DESCRIPTION 🌸

Verilog::Netlist::File lets Verilog::Netlist objects be read and written in Verilog format. Bestie, that’s the main character behavior: read the Verilog, write the Verilog, live your truth πŸ’–

πŸ‘‘ ACCESSORS πŸ‘‘

also check out Verilog::Netlist::Subclass for extra accessors and methods β€” it’s the β€œsee also” bestie you don’t wanna skip 🫢

  • $self->basename β€” the filename of the file, but with any path and . suffix stripped off. so it’s the glow-up version of the filename ✨
  • $self->name β€” the filename of the file. plain, simple, iconic.
  • $self->preproc β€” the Verilog::Preproc object this file is using. it’s the preprocessor bestie in the group chat πŸ’…

πŸŽ€ MEMBER FUNCTIONS πŸŽ€

again, see also Verilog::Netlist::Subclass for additional accessors and methods β€” same reminder, same slay 🌈

  • $self->read β€” generally called as $netlist->read_file. pass a hash of parameters. it reads the filename=> parameter, parsing all instantiations, ports, and signals, and creating Verilog::Netlist::Module structures. that’s the whole pipeline, periodt πŸ”₯
  • $self->dump β€” prints debugging information for this file. debug print go brrr πŸ’€

🧚 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. go get it, bestie πŸ“

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. that’s the legal text, and we respect it πŸ’œ

πŸ¦‹ AUTHORS πŸ¦‹

Wilson Snyder <wsnyder@wsnyder.org> β€” author icon, no notes πŸ‘‘

🌟 SEE ALSO 🌟

Verilog-Perl, Verilog::Netlist::Subclass Verilog::Netlist β€” your little reading list, bestie πŸ“šβœ¨


okay bestie, that’s the whole page: perl v5.42.0, dated 2025-07-25, and it’s the Netlist::File(3) manual page. go read some Verilog, ily πŸ’–πŸ’…

πŸ“¦ where this page comes from