Re: errata/12: hierarchical parameter identifier

From: Stefen Boyd (stefen@boyd.com)
Date: Thu Aug 09 2001 - 17:30:00 PDT


The following reply was made to PR errata/12; it has been noted by GNATS.

From: Stefen Boyd <stefen@boyd.com>
To: btf-bugs@boyd.com
Cc:
Subject: Re: errata/12: hierarchical parameter identifier
Date: Thu, 09 Aug 2001 17:25:34 -0700

 At 03:20 PM 8/9/2001 -0700, Dennis Marsa wrote:
 
> The above change would allow:
>
> parameter a.b.c = 1;
> localparam a.b.c = 1;
>
> as well as the intended:
>
> defparam a.b.c = 1;
>
 
 thanks Dennis and Mac... I overlooked that.
 
> since param_assignment rule is reachable from the parameter_declaration and
> local_parameter_declaration rules.
>
> How about:
>
> - leave "param_assignment" as is.
>
> - add new rules:
> defparam_assignment ::= hierarchical_parameter_identifier =
> constant_expression
> list_of_defparam_assignments ::= defparam_assignment { ,
> defparam_assignment }
>
> - change:
> parameter_override ::= "defparam" list_of_param_assignments
>
> to:
> parameter_override ::= "defparam" list_of_defparam_assignments
>
 
 This looks better... we'll still have to define
 hierarchical_parameter_identifier.
 
 Stefen
 
 
 --------------------
 Stefen Boyd Boyd Technology, Inc.
 stefen@BoydTechInc.com (408)739-BOYD
 www.BoydTechInc.com (408)739-1402 (fax)
 



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