[sv-ac] New Types proposal - 1549.

From: Lisa Piper <piper_at_.....>
Date: Thu Jul 27 2006 - 12:14:15 PDT
I have filed a new entry in Mantis - #1549, to add the new types that
were discussed in connection with #928.

Formal arguments to properties and sequences are currently defined for
some but not all possible types. The objective of this proposal is to
expand the list of types so that everything that is allowed to be passed
as an argument can be passed as a typed argument. 

The standard currently defines only operand types (per 17.4.1).
Arguments that are not covered by the current type definitions include
"property", "sequence", "events", and "anytype".  The "anytype" is
introduced to allow arguments that do not have any data type
restrictions to be mixed freely with those that do. 

New Types are proposed as follows:

o        sequence: sequence instances are passed as type sequence

o        property:  property instances are passed as type property

o        event: this is used for passing arguments (4.8) that are used
for clocking purposes



*	anytype: used when there are no data type restrictions, meaning
that any type is acceptible. The implicit type (that of the declaration
of the argument) is used for any semantic checks.  This is equivalent to
listing the argument prior to any typed arguments.

 

Examples have been improved.

The attached proposal describes the detailed changes that will be
required in the standard.  All changes are RELATIVE to the revisions of
Mantis 928. Also, #1532: "Remove @sequence_instance from event_control
to take care of sequences with arguments" is assumed.

 



Received on Thu Jul 27 12:14:27 2006

This archive was generated by hypermail 2.1.8 : Thu Jul 27 2006 - 12:14:31 PDT