CPAN::Forum
Verilog-Perl - A few proposed changes to Verilog::Netlist
| Posted on Thu Aug 14 23:19:58 2008 by mcorazao |
| A few proposed changes to Verilog::Netlist |
|
I was trying to use Verilog::Netlist for my work and ended up creating a patched version to facilitate this. I would like to submit these changes for a new release but wanted to check with the primary authors here as to whether you agree that changes even make sense. My patched version has the following.
#####
1) Verilog::Netlist::Subclass no longer prints an error message when the application terminates.
Having a class library control what the application prints at the end of the application does not
make much sense to me (not modular) and, regardless, limits my ability to control what comes out
of my app. I prefer that the calling routine query the results of the operation (i.e. parsing/
linking) and handle failure conditions appropriately.
2) Added n_errors() and n_warnings() methods to Verilog::Netlist to allow explicitly querying the
the data model to determine how many errors/warnings occurred in parsing/linking.
3) Added "preproc" option to Verilog::Netlist / Verilog::Parser. This allows the preprocessor class
to be overriden instead of the default Verilog::Preproc class. Normally the class passed as an
argument would be a subclass of Verilog::Preproc. This feature can facilitate
a) Creating a preprocessor that strips out RTL constructs so that structural information
about a RTL file can be easily parsed.
b) Creating a preprocessor which implements simple extensions to Verilog.
#####
Also, how/where should I upload the revised code for evaluation?
Thanks.
- MRC
|
| Write a response |
(0)
]