Add Proposal | Add Analysis | Edit Class, Environment, or Release |
Number | 540
|
Notify-List |
|
Category | errata
|
Synopsis | Misuse of term reg in 17.2.4.4
|
State | open
|
Class | errata-simple
|
Arrival-Date | Feb 11 2004
|
Originator | sharp@cadence.com (Behavioral Task Force)
|
Release |
|
Environment |
|
Description |
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. |
Fix |
Unknown |
Audit-Trail |
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 From: Steven Sharp <sharp@cadence.com> To: etf-bugs@boyd.com, Shalom.Bresticker@motorola.com Cc: Subject: Re: errata/540: Re: errata/540: Misuse of term reg in 17.2.4.4 Date: Thu, 12 Feb 2004 16:36:40 -0500 (EST) > There is no good reason that a vector wire should not be able to be used here as > well as a reg. Or more generally, an arbitrary expression. Steven Sharp sharp@cadence.com From: Shalom.Bresticker@motorola.com To: etf-bugs@boyd.com Cc: Subject: Re: errata/540: Misuse of term reg in 17.2.4.4 Date: Fri, 13 Feb 2004 10:17:48 +0200 (IST) Same for the use of "integer". > Agreed, but I would like to widen this item into all of Section 17. > "reg" is used in many places too restrictively. -- Shalom Bresticker Shalom.Bresticker@motorola.com Design, Verification & Reuse Methodology Tel: +972 9 9522268 Motorola Semiconductor Israel, Ltd. Fax: +972 9 9522890 POB 2208, Herzlia 46120, ISRAEL Cell: +972 50 441478 |
Unformatted |
|
Hosted by Boyd Technology