Hi,
$swrite is a family (in digital), because there are also $swriteb, $swriteo, $swriteh.
The syntax is
string_output_tasks ::=
string_output_task_name ( output_reg, list_of_arguments );
string_output_task_name ::=
$swrite | $swriteb | $swriteh | $swriteo
Regards,
Shalom
From: owner-verilog-ams@eda.org [mailto:owner-verilog-ams@eda.org] On Behalf Of Marq Kole
Sent: Wednesday, March 23, 2011 2:56 PM
To: Verilog-AMS LRM Committee
Subject: issues in LRM sections 9.5.3, 9.5.4, and 9.5.5
Hi All,
Upon reading the contents of the sections 9.5.3, 9.5.4, and 9.5.5 in the 2.3.1 LRM I've found a few items where I think we can improve:
9.5.3: In the second paragraph, just below the syntax box twice the phrase "family of tasks" is used. To me this implies that there are more system tasks like $swrite, but they are not mentioned here. A reference is made to the $fwrite family of tasks but in the section 9.5.2 they are not mentioned - $fwrite appears in company of $fdisplay, $fstrobe, $smonitor, and $fdebug. Instead, the $fwrite family of tasks refers to the $fwrite, $fwriteb, $fwriteh, and $fwriteo tasks. To prevent confusion the phrase "family of tasks" should be replaced by "task" and the sentence should be adjusted to match the singular form.
9.5.4: In subsection 9.5.4.2 at the bottom of page 206, a descriptor is mentioned with the character c. In the list at the top of the next page (207), this character is not mentioned at all. This is a significant omission as it is not clear whether the receiving variable for such a descriptor should be a string variable, an integer variable or any of the two.
9.5.5: Twice a reference is made to $ungetc while this system task is not mentioned anywhere else in the LRM except in the overview table 9-2 on page 194. I would also like to know why there is a restriction for using the $fgetc function and $ungetc task from the analog context. This seems rather arbitrary to me, and limits the ability to read textual data from file for detailed processing. I would suggest to support $ungetc and $fgetc in the analog context as well. Otherwise, a reference to $ungetc in the 1364-2005 or 1800-2009 standard might be relevant.
Cheers,
Marq
Marq Kole
Product Manager AMSRF Simulation
NXP Semiconductors / Central R&D / Foundation Technology
-- This message has been scanned for viruses and dangerous content by MailScanner<http://www.mailscanner.info/>, and is believed to be clean. --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Wed Mar 23 08:25:38 2011
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2011 - 08:25:44 PDT