1Netlist::File(3) User Contributed Perl Documentation Netlist::File(3)
2
3
4
6 Verilog::Netlist::File - File containing Verilog code
7
9 use Verilog::Netlist;
10
11 my $nl = new Verilog::Netlist;
12 my $fileref = $nl->read_file(filename=>'filename');
13
15 Verilog::Netlist::File allows Verilog::Netlist objects to be read and
16 written in Verilog format.
17
19 See also Verilog::Netlist::Subclass for additional accessors and
20 methods.
21
22 $self->basename
23 The filename of the file with any path and . suffix stripped off.
24
25 $self->name
26 The filename of the file.
27
28 $self->preproc
29 The Verilog::Preproc object this file is using.
30
32 See also Verilog::Netlist::Subclass for additional accessors and
33 methods.
34
35 $self->read
36 Generally called as $netlist->read_file. Pass a hash of
37 parameters. Reads the filename=> parameter, parsing all
38 instantiations, ports, and signals, and creating
39 Verilog::Netlist::Module structures.
40
41 $self->dump
42 Prints debugging information for this file.
43
45 Verilog-Perl is part of the <https://www.veripool.org/> free Verilog
46 EDA software tool suite. The latest version is available from CPAN and
47 from <https://www.veripool.org/verilog-perl>.
48
49 Copyright 2000-2021 by Wilson Snyder. This package is free software;
50 you can redistribute it and/or modify it under the terms of either the
51 GNU Lesser General Public License Version 3 or the Perl Artistic
52 License Version 2.0.
53
55 Wilson Snyder <wsnyder@wsnyder.org>
56
58 Verilog-Perl, Verilog::Netlist::Subclass Verilog::Netlist
59
60
61
62perl v5.34.0 2021-07-27 Netlist::File(3)