You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code for this command contains a number of debug print statements intended to be turned on if vppreproc is called with --Debug as an option.
However Verilog::Getopt::parameter is called to extract VCS-like parameters before the main call to GetOptions which parses parameters like --Debug. As a consequence debug messages associated with parsing VCS-like parameters can never be printed.
I found this when trying to debug a problem with the -f option. @vppreproc --debug -f foo.f@ is intended to print the message @"*parameter_file $filename\n"@, but does not do so.
Test case to follow shortly.
The text was updated successfully, but these errors were encountered:
Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2012-02-22T19:36:41Z
No need for a test, easy to recreate. Fixed in git towards 3.314(159 :).
However note that Verilog::Getopt's $Debug isn't the same as the script's $Debug, so fixing this alone won't get you that message. In vppreproc's "sub debug" you need to add "$Verilog::Getopt::Debug = 1;"
Author Name: Jeremy Bennett (@jeremybennett)
Original Redmine Issue: 442 from https://www.veripool.org
Original Date: 2012-02-22
Original Assignee: Wilson Snyder (@wsnyder)
The code for this command contains a number of debug print statements intended to be turned on if vppreproc is called with --Debug as an option.
However Verilog::Getopt::parameter is called to extract VCS-like parameters before the main call to GetOptions which parses parameters like --Debug. As a consequence debug messages associated with parsing VCS-like parameters can never be printed.
I found this when trying to debug a problem with the -f option. @vppreproc --debug -f foo.f@ is intended to print the message @"*parameter_file $filename\n"@, but does not do so.
Test case to follow shortly.
The text was updated successfully, but these errors were encountered: