Re: [sv-bc] slices of packed arrays


Subject: Re: [sv-bc] slices of packed arrays
From: Peter Flake (Peter.Flake@synopsys.com)
Date: Wed Mar 19 2003 - 08:12:52 PST


Karen,

I think that this is illegal because the slices index upwards and the array indexes downwards.

Peter.

At 08:42 17/03/2003 -0800, Karen Pieper wrote:
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 : Wed Mar 19 2003 - 08:14:05 PST