Re: [sv-bc] Clarify -- Type casting issue]

From: Dave Rich <David.Rich@synopsys.com>
Date: Tue Jun 22 2004 - 15:57:47 PDT

Steve,

This issue reversed that decision. It was too late to make it into the
SV3.1a LRM

Steven Sharp wrote:

>>According to
>>
>> http://www.eda.org/sv-bc/display_issue.cgi?issue_num=38
>>
>>the following two statements have identical results
>>
>> typeA A = expr;
>> typeA A = typeA'(expr);
>>
>>
>
>Dave Rich said recently that the operand of a cast is
>self-determined. That is not consistent with this claim.
>
>The right-hand-side of an assignment is not self-determined.
>If the types are vectors, then its width is context-determined,
>with the width of the left-hand-side taken into account. So if
>the operand of a cast is self-determined, then these two statements
>do not have identical results.
>
>One of these claims is incorrect.
>
>Steven Sharp
>sharp@cadence.com
>
>
>
>

-- 
--
David.Rich@Synopsys.com
Technical Marketing Consultant and/or
Principal Product Engineer
http://www.SystemVerilog.org
tele:  650-584-4026
cell:  510-589-2625
Received on Tue Jun 22 15:57:52 2004

This archive was generated by hypermail 2.1.8 : Tue Jun 22 2004 - 15:59:07 PDT