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

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

  • Next message: Charles Dawson: "PTF meeting minutes 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 15:51:28 -0400

     The notes in section 26.6.8 say that vpiLeftRange and
     vpiRightRange apply to variables when and only when
     vpiArray is TRUE (Note 5). Note 3 says that vpiArray
     is TRUE if and only if the variable handle references
     and array of variables. So a single variable (integer,
     time, or real) that is not part of an array does
     not have a vpiLeftRange or a vpiRightRange.
     
     But in this case, it is also an error to return a
     vpiLeftRange or vpiRightRange. These relations do
     not return a NULL handle for a non-array variable.
     
     Regards,
     Jim V.
     
     ---------------------------------------------------------
     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."
     ----------------------------------------------------------
       
      
     
     ] -----Original Message-----
     ] From: shalom@eagle.msil.sps.mot.com
     ] [mailto:shalom@eagle.msil.sps.mot.com] On Behalf Of
     ] Shalom.Bresticker@freescale.com
     ] Sent: Monday, September 20, 2004 3:38 PM
     ] To: Jim Vellenga
     ] Cc: ptf-bugs@boyd.com
     ] Subject: RE: errata/622: Return value for left/right range of
     ] unsize parameter
     ]
     ] What is done for integer variables?
     ]
     ] They also have an implicit range.
     ]
     ] --
     ] Shalom Bresticker Shalom.Bresticker
     ] @freescale.com
     ] Design & Verification Methodology Tel:
     ] +972 9 9522268
     ] Freescale Semiconductor Israel, Ltd. Fax:
     ] +972 9 9522890
     ] POB 2208, Herzlia 46120, ISRAEL Cell:
     ] +972 50 5441478
     ]
     ]
     ]
     



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