RE: [sv-bc] DataTypes: wording for optional "var"

From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Thu Nov 18 2004 - 16:07:42 PST

  • Next message: Steven Sharp: "RE: [sv-bc] DataTypes: wording for optional "var""

    Steven,

    There would be an ambiguity on

        typedef my_logic ;

    Is that a forward typedef or

        typedef logic my_logic ;

    Otherwise it makes sense to me. The only BNF change needed would be
    in A.2.1.3 and Syntax 3-2, in type_declaration, REPLACE

       data_type

    WITH

       data_type_or_implicit

    Plus some footnote to resolve the ambiguity of

       typedef my_logic ;

    -- Brad

    >This might be going too far, but a logical extension would also allow
    >
    > typedef [7:0] my_byte;
    >
    >to be equivalent to
    >
    > typedef logic [7:0] my_byte;



    This archive was generated by hypermail 2.1.4 : Thu Nov 18 2004 - 15:54:19 PST and
    sponsored by Boyd Technology, Inc.