errata/540: Re: errata/540: Misuse of term reg in 17.2.4.4

From: Shalom Bresticker (Shalom.Bresticker@motorola.com)
Date: Thu Feb 12 2004 - 01:50:00 PST

  • Next message: Shalom.Bresticker@motorola.com: "errata/197: PROPOSAL - 17.2.4.3: sscanf/"string" incompatibility"

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

    From: Shalom Bresticker <Shalom.Bresticker@motorola.com>
    To: etf-bugs@boyd.com
    Cc:
    Subject: Re: errata/540: Misuse of term reg in 17.2.4.4
    Date: Thu, 12 Feb 2004 11:54:26 +0200

    > Section 17.2.4.4 describes the $fread system function as
    > reading data into the reg myreg or the memory mem. This
    > might be interpreted as meaning that myreg must be declared
    > as a reg. In fact, this appears to be an archaic use of the
    > term "reg" and should have referred to a "variable". There
    > is no reason that $fread should not be able to read into an
    > integer or time variable. It should even be possible to
    > read into a real or realtime variable.
     
     Agreed, but I would like to widen this item into all of Section 17.
     "reg" is used in many places too restrictively.
     For example, in 17.2.1, paragraph 2, it says,
     
     "filename is a character string, or a reg containing a character string that
     names the file to be opened."
     
     There is no good reason that a vector wire should not be able to be used here as
     well as a reg.
     
     --
     Shalom Bresticker Shalom.Bresticker@motorola.com
     Design & Reuse Methodology Tel: +972 9 9522268
     Motorola Semiconductor Israel, Ltd. Fax: +972 9 9522890
     POB 2208, Herzlia 46120, ISRAEL Cell: +972 50 441478
     
     
     



    This archive was generated by hypermail 2.1.4 : Thu Feb 12 2004 - 01:50:02 PST and
    sponsored by Boyd Technology, Inc.