Hierarchical Reference problems

From: Andrew T. Lynch (drew@surefirev.com)
Date: Wed Feb 03 1999 - 10:49:14 PST


  Looks like the definition of upwards name referencing in the latest
draft is still incomplete.

1) It seems to only allow one "dot"

module_identifier.item_name
or
module_instance_name.item_name

this would preclude the common usage of

module_identifier[.module_instance_name]*.item_name
or
module_instance_name[.module_instance_name]*.item_name

2) It seems to preclude having escaped names as part of the reference:

"There shall be no spaces within the hierarchical name reference"

3) It also does not address ambiguous references:

module xx;
   reg x;

   yy xx();
   zz zz1();
endmodule

module yy
 reg x;
endmodule

module zz();
initial $display(xx.x); // which x does this display xx.x or xx.xx.x?
endmodule
   

-- 
Andrew T. Lynch, Chief Zymurgist, SureFire Verification (408)374-4100 x301


This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:53:25 PDT and
sponsored by Boyd Technology, Inc.