Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserving Comments #1059

Closed
veripoolbot opened this issue May 11, 2016 · 1 comment
Closed

Preserving Comments #1059

veripoolbot opened this issue May 11, 2016 · 1 comment
Assignees

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Satish S
Original Redmine Issue: 1059 from https://www.veripool.org
Original Date: 2016-05-11
Original Assignee: Wilson Snyder (@wsnyder)


Hi. May I know if the comments are preserved when using Verilog::Netlist. I tried comment command for Module/Cell/Net/Pin but it returns uninitialized in all cases.
I notice that keep_comments, include_open_nonfatal and synthesis options are commented out in Netlist.pm new class definition.
Please advise. Thanks

sub new {
my $class = shift;
my $self = {_interfaces => {},
_modules => {},
_files => {},
implicit_wires_ok => 1,
link_read => 1,
logger => Verilog::Netlist::Logger->new,
options => undef, # Usually pointer to Verilog::Getopt
symbol_table => [], # Symbol table for Verilog::Parser
preproc => 'Verilog::Preproc',
parser => 'Verilog::Netlist::File::Parser',
remove_defines_without_tick => 0, # Overriden in SystemC::Netlist
#include_open_nonfatal => 0,
#keep_comments => 0,
#synthesis => 0,

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2016-05-11T12:48:19Z


Keeping comments is only for using the raw Verilog::Preproc or Verilog::Parser packages. The Verilog::Netlist classes don't support this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants