RE: [sv-bc] slices of packed arrays


Subject: RE: [sv-bc] slices of packed arrays
From: Srouji, Johny (johny.srouji@intel.com)
Date: Mon Mar 17 2003 - 08:47:49 PST


I recall that last time it was discussed (meeting of 03/02/03), we agreed
this was legal but Dave Rich got the AR to write a clearer proposal wrt "Is
taking slices of packed arrays valid?"

 

--- Johny.

 

-----Original Message-----
From: Karen Pieper [mailto:Karen.Pieper@synopsys.com]
Sent: Monday, March 17, 2003 6:42 PM
To: sv-bc@eda.org
Subject: [sv-bc] slices of packed arrays

 

Hi, all,
        
        The SV-EC is asking us if the following is legal. There is an
example in the current standard
we need to be sure is correct.

string d[5:1] = { "a", "b", "c", "d", "e" };
string p[*];
p = { d[1:3], "hello", d[4:5] };

K



This archive was generated by hypermail 2b28 : Mon Mar 17 2003 - 08:48:27 PST