[sv-bc] New issue from 12/5 meeting: Clarifications on casting


Subject: [sv-bc] New issue from 12/5 meeting: Clarifications on casting
From: Dave Rich (David.Rich@synopsys.com)
Date: Mon Dec 08 2003 - 00:31:32 PST


In section 3.14

ADD the text in blue to the following sentence

A data type can be changed by using a cast ( ’ ) operation. The expression to be cast must be enclosed in
parenthesis or within concatenation or replication braces and is self-determined.

ADD the text in blue to the following sentence

A positive decimal number as a data type means a number of bits to change the size.

ADD this paragraph in blue after
signed’(x)
The expression inside the cast must be an integral value when changing the size or signing. When changing the size, the signing passes through unchanged. When changing the signing, the size passes through unchanged.

REPLACE in section A.2.2.1

casting_type ::= simple_type | number | signing

WITH

casting_type ::= simple_type | size | signing
-- 
--
David.Rich@Synopsys.com
Technical Marketing Consultant
http://www.SystemVerilog.org
tele:  650-584-4026
cell:  510-589-2625



This archive was generated by hypermail 2b28 : Mon Dec 08 2003 - 00:32:50 PST