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

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

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;
Received on Thu Nov 18 16:06:40 2004

This archive was generated by hypermail 2.1.8 : Thu Nov 18 2004 - 16:06:55 PST