From: Steven Sharp (sharp@cadence.com)
Date: Thu Feb 07 2002 - 11:22:34 PST
Precedence: bulk
>This would seem to expand to something like:
>
> always @(<events from something> or <event involving mem8x10>)
> begin : named
> reg [31:0] b;
> b = <something>;
> a = mem8x10[b];
> end
>
>But what is <event involving mem8x10>? Saying it is mem8x10[b] seems
>suspect to me since the b used to index mem8x10 is not visible from
>there.
Regardless of scoping, named.b can be modified from outside the block.
If that happens, the block needs to be re-evaluated. So you have to be
sensitive to named.b (or the equivalent of mem8x10[named.b]).
It's ugly, but that's what happens when you try to hack new features
into a language.
Steven Sharp
sharp@cadence.com
This archive was generated by hypermail 2.1.4
: Mon Jul 08 2002 - 12:55:35 PDT
and
sponsored by Boyd Technology, Inc.