RE: array parameters overrides

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Apr 19 2007 - 04:52:52 PDT
I don't think you can do this in SV in an array assignment, only in
assignment of an individual element.

 

Shalom

 

The equivalent type was put in as in case of integer vs real arrays
coercion can be used, in case of a string array (do have those?) it
can't be done. Or put in other words, each array element is assigned a
value as though it were a scalar initialized by a scalar constant. 

It allows: 

        parameter real pwl[0:3] = {0, 0, 1, 1}; // initialize real array
with integer values 




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Apr 19 04:53:54 2007

This archive was generated by hypermail 2.1.8 : Thu Apr 19 2007 - 04:53:56 PDT