[sv-bc] RE: question about new enum types in standard package

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Tue Feb 22 2011 - 06:14:01 PST

Hi,

I looked over the current system task definitions.

I think that today non-numeric arguments are done as strings, such as "r" or "rb" as file descriptor types in Table 21-7.

Would such enum definitions turn "on", "off", "kill" into keywords or into predefined enum value names that would preclude users from using them in their own enum declarations or parameter declarations or signal names?

Regards,
Shalom

> -----Original Message-----
> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of
> Kulshrestha, Manisha
> Sent: Tuesday, February 22, 2011 10:00 AM
> To: sv-bc@eda.org
> Subject: [sv-bc] question about new enum types in standard package
>
> SV-BC,
>
> In sv-ac, we are discussing about adding new system tasks which would
> have difference arguments. Here is an example:
>
> $assertcontrol(level, control_type, directive_type, ...);
>
> Here control_type can be either on/off/kill. Similarly directive_type
> can be assert, cover or assume. We want to define some enums to
> represent these values so that users do not need to pass integer
> values. Instead the users can use one of these enums (or even pass OR
> of multiple of them).
>
> Is there a precedent for such a thing ? Is standard package defined in
> Annex G right place to insert these new enum types ?
>
> Thanks.
> Manisha

---------------------------------------------------------------------
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 Tue Feb 22 06:14:44 2011

This archive was generated by hypermail 2.1.8 : Tue Feb 22 2011 - 06:14:58 PST