Clarification question

From: Muranyi, Arpad <arpad.muranyi_at_.....>
Date: Thu Sep 08 2005 - 16:05:16 PDT
Hello everyone,

Sorry for a few novice questions.

This sentence in the LRM got me.  Could someone please help
me to understand it (perhaps with some simple examples)?
This is in section 3.2.4:

"If the array size is changed via a parameter assignment, the parameter array shall
be assigned an array of the new size from the same module as the parameter
assignment that changed the parameter array size."

First, I would like to understand how the size of an array can be
changed.  Second, I would like to understand the second half of
the sentence that deals with the assignment, and module.

Also, is there a way to obtain the size of an array, for example
for the purpose of running a for loop as many times as the number
of elements in the array?

Seemingly unrelated, question:  Is there a way to read data tables
from files into arrays, kind of like the $table_model function does
it?  I have seen the $fscan, $sscan, etc... functions in the 1364-2001
manual, but are those officially available and supported by "Verilog-AMS"
tools?


Thanks,

Arpad
==================================================================
Received on Thu Sep 8 16:05:38 2005

This archive was generated by hypermail 2.1.8 : Thu Sep 08 2005 - 16:07:06 PDT