logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Verilog::Netlist::File - File containing Verilog code

Accessors

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

       $self->basename
           The filename of the file with any path and . suffix stripped off.

       $self->name
           The filename of the file.

       $self->preproc
           The Verilog::Preproc object this file is using.

Authors

       Wilson Snyder <wsnyder@wsnyder.org>

Description

       Verilog::Netlist::File allows Verilog::Netlist objects to be read and written in Verilog format.

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.

Member Functions

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

       $self->read
           Generally called as $netlist->read_file.  Pass a hash of parameters.  Reads the filename=> parameter,
           parsing all instantiations, ports, and signals, and creating Verilog::Netlist::Module structures.

       $self->dump
           Prints debugging information for this file.

Name

       Verilog::Netlist::File - File containing Verilog code

See Also

       Verilog-Perl, Verilog::Netlist::Subclass Verilog::Netlist

perl v5.40.1                                       2025-04-20                                 Netlist::File(3pm)

Synopsis

         use Verilog::Netlist;

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

See Also