Re: [sv-bc] ordered parameter overrides into named sequential blocks

From: Geoffrey.Coram <Geoffrey.Coram_at_.....>
Date: Mon Jun 19 2006 - 05:25:49 PDT
Steven Sharp wrote:
> >My question is: can one override the parameters declared in the block
> >using an ordered list of overrides, eg,
> >  example #(4, 3.14) inst2();
> 
> No, nor with named overrides.
[snip]
>  If you want the parameter to be accessible to the module
> instantiation, then it should be declared at the module level.  Declaring
> it in a nested block is effectively a request for it to be hidden.  That
> is what nested scopes do.

I'm actually completely fine with this.  Someone was trying to develop
some examples for the V-AMS LRM and put this in, and it looked odd to me,
so I thought I'd check with SV/1364.

-Geoffrey
Received on Mon Jun 19 05:26:21 2006

This archive was generated by hypermail 2.1.8 : Mon Jun 19 2006 - 05:26:34 PDT