Re: [sv-bc] Fwd: RE: Slice with unpacked arrays


Subject: Re: [sv-bc] Fwd: RE: Slice with unpacked arrays
From: Dave Rich (David.Rich@synopsys.com)
Date: Tue Feb 04 2003 - 14:13:46 PST


Kevin Cameron x3251 wrote:

>>
>>
>
>Are you including assignment in declarations?
>
Yes. Anywhere an unpacked assignment is legal

>
>If your LHS is a packed struct/array can you still tell?
>
Yes. The RHS can only be an unpacked concat if the LHS is unpacked. So a
packed LHS implies that the RHS is a packed concat.

>
>Would it be easier to say all unpacked concatenations need to be cast?
>
Yes, for the tool developer.
No, for the end user.

>
>Kev.
>
>
>
>>Unpacked concatenations are not legal on the LHS of an assignment statement. (Making them legal would introduce ambiguities, plus casting on the LHS is not legal)
>>
>>
>>Dave
>>
>>
>
>
>
>
>
>
>
>

-- 
--
Dave Rich
Principal Engineer, CAE, VTG
Tel:  650-584-4026
Cell: 510-589-2625
DaveR@Synopsys.com



This archive was generated by hypermail 2b28 : Tue Feb 04 2003 - 14:14:35 PST