[sv-bc] Re: [sv-cc] Confusion about the multidimensional open array in packed part of the formal argument of imported function.

From: Dhiraj Kumar Prasad <dhiraj_at_.....>
Date: Thu Jan 17 2008 - 01:29:36 PST
Hi Douge,

In the following argument which are allowed.

1. bit [][2:0] b1;

2. bit [][][2:0]b2;

3. bit [] b3;

Thanks,
Dhiraj

Warmke, Doug wrote:

>Dhiraj,
>
>I think it's clear that only a "single dimension is allowed for the packed part".
>The second quote you made is just an attempt to explain that this isn't a big
>limitation.  It could be removed and the LRM would not undergo any substantive
>change in meaning.
>
>Regards,
>Doug
>
>-----Original Message-----
>From: owner-sv-cc@server.eda.org [mailto:owner-sv-cc@server.eda.org] On Behalf Of Dhiraj Kumar Prasad
>Sent: Wednesday, January 16, 2008 9:01 PM
>To: sv-bc@server.eda.org; sv-cc@server.eda.org
>Cc: Dhiraj Kumar Prasad
>Subject: [sv-cc] Confusion about the multidimensional open array in packed part of the formal argument of imported function.
>
>
>Hi,
>
>According to LRM P1800.2005, section 26.4.6.1
>
>"Although the packed part of an array can have an arbitrary number of 
>dimensions,
> in the case of open arrays only a single dimension is allowed for the 
>packed part."
>
>again in same section it says that
>
>"This is not very restrictive, however, because any packed type is 
>eventually equivalent
> to a one-dimensional packed array."
>
>So this two statement are quite confusing about the use of 
>multidimensional open array
>in packed part of the formal argument of imported function.
>
>Should multidimensional open array be allowed in packed part of the 
>formal argument of
>imported function.
>
>Thanks,
>Dhiraj
>
>
>
>  
>




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jan 17 01:37:14 2008

This archive was generated by hypermail 2.1.8 : Thu Jan 17 2008 - 01:40:21 PST