veripool / verilog-perl

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

Verilog::Netlist::Cell->range doesn't return undef #1497

Closed veripoolbot closed 5 years ago

veripoolbot commented 5 years ago

Author Name: Shareef Jalloq Original Redmine Issue: 1497 from https://www.veripool.org

Original Assignee: Wilson Snyder (@wsnyder)


Hi,

the documentation for Cell->range says that it returns undef for instances that aren't ranged. However, it seems to return a blank string. Can you update the doco please.

Shareef.

veripoolbot commented 5 years ago

Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2019-09-04T01:37:36Z


Thanks, updated docs.

In some cases it does return undef, so it now says:

The range for the cell (e.g. "[1:0]") or false (i.e. undef or "") if not ranged.