[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  SVN::S4
  SystemPerl
  Voneline
  WFH
General Info
  Papers

Issue #211

Hierarchial defparams not working

Added by Shankar Giri over 3 years ago. Updated over 3 years ago.

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.

test_defparam.v (464 Bytes) Shankar Giri, 01/22/2010 09:24 am

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