Re: continued 1364 BTF work

From: Dave Rich (dave_59@yahoo.com)
Date: Thu Oct 14 2004 - 21:24:24 PDT

  • Next message: Steven Sharp: "BTF minutes, Oct 18 2004"

    Steven,

    The look-ahead parsing was just one of a number of reasons.

    Another was that

    tri reg A;

    would be legal, but too visually close to

    trireg A;

    And the third, was to show that you are actually declaring a layout for
    a group wires, and not really a new data type, similar to the way you
    declare a packed aray of wires. Looking down the road, we will also
    need to enhance arrays of instances to be compatible with datatypes on
    wires, so we would have something like

    wire <mytype> Q, D;
    dff a<mytype> (Q,D,clk);

    Dave

    --- Steven Sharp <sharp@cadence.com> wrote:

    >
    > >Jonathan Bradford's proposal, at the end of
    > >
    > > http://www.eda.org/sv-bc/hm/1910.html
    > >
    > >seems like one reasonable approach to consider. The idea is to
    > >allow a packed type identifier, enclosed in angle braces < >,
    > >to be used in net declarations where now only signing and packed
    > >dimensions are allowed.
    >
    > I don't believe that the angle braces are necessary. I don't think
    > there is an ambiguity that requires them. There may need to be some
    > additional lookahead in parsing, to determine whether an identifier
    > is a type name or the net name, but I think this problem already
    > exists in SV. It is syntactically very similar to a parameter
    > declaration, which also starts with a keyword followed by an optional
    > type and then the parameter name(s). If you can parse parameter
    > declarations without angle braces, then I think you can parse net
    > declarations pretty much the same way.
    >
    > Steven Sharp
    > sharp@cadence.com
    >
    >

                    
    _______________________________
    Do you Yahoo!?
    Declare Yourself - Register online to vote today!
    http://vote.yahoo.com



    This archive was generated by hypermail 2.1.4 : Thu Oct 14 2004 - 21:14:53 PDT and
    sponsored by Boyd Technology, Inc.