veripool / verilog-perl

Verilog parser, preprocessor, and related tools for the Verilog-Perl package
https://www.veripool.org/verilog-perl
Artistic License 2.0
121 stars 34 forks source link

named blocks? #1060

Closed veripoolbot closed 8 years ago

veripoolbot commented 8 years ago

Author Name: Jon Nall Original Redmine Issue: 1060 from https://www.veripool.org Original Date: 2016-05-19 Original Assignee: Wilson Snyder (@wsnyder)


In the object model, is there any visibility into named blocks? This would be particularly useful for analyzing named generate blocks.

veripoolbot commented 8 years ago

Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2016-05-21T01:08:42Z


Labels are presently parsed but otherwise ignored. If you want to recognize them you could create a patch to look for them in VParseBison.y (see e.g. idAny near yBEGIN) and pass them up. Or use verilator --xml mode, as described under Which Parser in [[Manual-verilog-perl]].