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

From: Kulshrestha, Manisha <Manisha_Kulshrestha@mentor.com>
Date: Mon Feb 21 2011 - 23:59:38 PST

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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Feb 22 00:00:25 2011

This archive was generated by hypermail 2.1.8 : Tue Feb 22 2011 - 00:00:48 PST