Re: assign out = mem[index] ;

From: Steven Sharp (sharp@cadence.com)
Date: Mon Aug 12 2002 - 15:17:28 PDT


Precedence: bulk

>I need an urgent answer to the following question:

And this answer is a bit late...

>What is the behavior of the continuous assignment
>
>assign out = mem[index] ;
>
>Is it sensitive to index or to mem[index] ?
>
>That is, if mem[index] changes while index stays constant,
>is out updated ?

Yes it is. A continuous assignment acts as if it is continuously
assigning its right side to its left. So if the value of the
right side changes, the left side must follow it. The exact
details of what sensitivity is used to produce this result are
not specified, but it must be sufficient to get this result.

>It's urgent because 1364.1 uses that structure for RAM modeling.

It should work.

Steven Sharp
sharp@cadence.com



This archive was generated by hypermail 2.1.4 : Thu Oct 10 2002 - 09:24:27 PDT and
sponsored by Boyd Technology, Inc.