Issue #211
Hierarchial defparams not working
| Status: | WillNotFix | Start date: | 01/22/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Wilson Snyder | % Done: | 0% |
|
| Category: | Unsupported | |||
| Target version: | - |
Description
when i try with code like
defparam a.b = 1;works, but
defparam a.b.c = 1;does not.
Looking at verilog.y, I see the defparam bison syntax is
defparam_assignment<nodep>: // ==IEEE: defparam_assignment
id '.' id '=' expr { $$ = new AstDefParam($4,*$1,*$3,$5); }<pre>
Looks like multilevel hierarchial defparams are not supported. Am I right in this assumption?
I have attached a small verilog file which exposes this issue.
History
Updated by Wilson Snyder over 3 years ago
- Status changed from New to WillNotFix
You're correct. This is hard to change, and defparams have been deprecated in the standard since 2001, so this isn't going to be fixed.
Also available in: Atom
![[logo]](/img/veripool_small.png)