From: Shalom.Bresticker@freescale.com
Date: Sun Aug 01 2004 - 08:04:02 PDT
In Syntax 1-3 and in A.2.6,
in "function_declaration", CHANGE in 2 places
[ <b> signed </b> ] [ range_or_type ]
TO
[ function_range_or_type ]
CHANGE
range_or_type ::=
range
| <b> integer </b>
| <b> real </b>
| <b> realtime </b>
| <b> time </b>
TO
function_range_or_type ::=
[ <b> signed </b> ] [ range ]
| <b> integer </b>
| <b> real </b>
| <b> realtime </b>
| <b> time </b>
In 10.3.1, CHANGE the following paragraph
"A function definition shall begin with the keyword function,
followed by the optional keyword automatic, followed by the
optional signed designator, followed by the range or type of
the return value from the function, followed by the name of
the function, and then either a semicolon, or a function port
list enclosed in parenthesis, and then a semicolon, and then
shall end with the keyword endfunction. The use of a
range_or_type shall be optional. A function specified without
a range or type defaults to a one bit reg for the return value.
If used, range_or_type shall specify the return value of the
function is a real, an integer, a time, a realtime or a value
with a range of [n:m] bits. A function shall have at least
one input declared."
TO
"A function definition shall begin with the keyword function,
followed by the optional keyword automatic, followed by an
optional function_range_or_type of the return value from the
function, followed by the name of the function, and then
either a semicolon, or a function port list enclosed in
parenthesis, and then a semicolon, and then
shall end with the keyword endfunction.
The use of a function_range_or_type shall be optional.
A function specified without a function_range_or_type
shall default to a one bit reg for the return value.
If used, function_range_or_type shall specify that the
return value of the function is a real, an integer, a time,
a realtime, or a vector (optionally signed) with a range of
[n:m] bits.
A function shall have at least one input declared."
CLOSE issue #607 as a duplicate of #554.
http://boydtechinc.com/cgi-bin/issueproposal.pl?cmd=view&database=default&pr=554
This archive was generated by hypermail 2.1.4
: Sun Aug 01 2004 - 08:04:25 PDT
and
sponsored by Boyd Technology, Inc.