RE: errata/622: Return value for left/right range of unsize parameter

From: Jim Vellenga (vellenga@cadence.com)
Date: Mon Sep 20 2004 - 05:50:01 PDT

  • Next message: Charles Dawson: "PTF agenda for 9/20/2004"

    The following reply was made to PR errata/622; it has been noted by GNATS.

    From: "Jim Vellenga" <vellenga@cadence.com>
    To: <Shalom.Bresticker@freescale.com>
    Cc: <ptf-bugs@boyd.com>
    Subject: RE: errata/622: Return value for left/right range of unsize parameter
    Date: Mon, 20 Sep 2004 08:47:20 -0400

     Thank you, Shalom. As you have observed, a parameter that has no range
     specification does indeed have implicit left and right range values.
     So an alternative would be to have the vpiLeftRange and vpiRightRange
     relationships return the implicit values.
     
     The one advantage to having vpiLeftRange and vpiRightRange return NULL
     handles is that this allows the user to determine whether or not the
     parameter does have a range specification. This could be useful, for
     example, in a decompiler application. This is the reason that I
     favored having these relations return NULL handles.
     
     For a parameter that has no range specification, the user can still use
     the vpiSize property to determine the left and right range values, so
     there is no loss of information.
     
     Regards,
     James H. Vellenga
     Cadence Design Systems, Inc.
     
     ---------------------------------------------------------
     James H. Vellenga 978-262-6381
     Engineering Director (FAX) 978-262-6636
     Cadence Design Systems, Inc. vellenga@cadence.com
     270 Billerica Rd
     Chelmsford, MA 01824-4179
     "We all work with partial information."
     ----------------------------------------------------------
     



    This archive was generated by hypermail 2.1.4 : Mon Sep 20 2004 - 05:50:14 PDT and
    sponsored by Boyd Technology, Inc.