[sv-bc] Proposal to remove char from SV3.0


Subject: [sv-bc] Proposal to remove char from SV3.0
From: Steven Sharp (sharp@cadence.com)
Date: Thu Mar 06 2003 - 16:22:25 PST


As agreed, here is a proposed set of changes to remove char and leave byte.

In Section 1, REPLACE

        int, char, typedef
        
WITH

        int, typedef
        
Note that this list already leaves out some types like shortint that have
different names from the C equivalent, so leaving byte out should be fine.

In 2.6, REPLACE

        char c1 = "A";
        
WITH

        byte c1 = "A";

        
In 2.6, REPLACE

        char c3 [0:12] = "hello world\n";
        
WITH

        byte c3 [0:12] = "hello world\n";
        
        
In Syntax 3-1 and A2.2.1, REPLACE

        integer_atom_type ::= byte|char|shortint|int|longint|integer
        
WITH

        integer_atom_type ::= byte|shortint|int|longint|integer

In Table 3-1, DELETE line for char

In Table 3-1, REPLACE

        byte 2-state SystemVerilog data type, 8 bit signed integer
        
WITH

        byte 2-state SystemVerilog data type, 8 bit signed integer or ASCII
character
        

In 3.3.2, REPLACE

        The data types char, byte, shortint...
        
WITH

        The data types byte, shortint...
        

In 4.2, REPLACE

        These types are: char, byte, shortint...
        
WITH

        These types are: byte, shortint...
        

In 5.3, REPLACE

        localparam char colon1 = ":";
        
WITH

        localparam byte colon1 = ":";
        
        
In 12.5, REPLACE
        
        char y;
        
WITH

        byte y;
        

In 12.5, REPLACE

        (input char a, b)
        
WITH

        (input byte a, b)
        

In Annex B, DELETE the keyword char.

In the Index, DELETE the entry for char.

If SV3.1 needs changes also, these generally involve deleting the keyword
char from lists of types, and changing declarations from char to byte in
examples.
        
Steven Sharp
sharp@cadence.com



This archive was generated by hypermail 2b28 : Thu Mar 06 2003 - 16:28:02 PST