Re: clarificstion about enumeration typed objects


Subject: Re: clarificstion about enumeration typed objects
From: Dave Rich (David.Rich@synopsys.com)
Date: Sat Dec 07 2002 - 21:36:34 PST


Francoise,

According to section 3.1, "SystemVerilog supports the C built-in types,
with the meaning
given by the implementation C compiler."

So the default value is red.

Dave

Francoise Martinolle wrote:

>What is the defasult value of a object (variable) defined of an enumeration type.
>
>Let's assume enum Colors = {red, blue, green};
>Colors c;
>What is the value of c?
>
>I don't see it specified in the standard.
>
>Francoise
> '
>
>
>
>

-- 
--
Dave Rich
Principal Engineer, CAE, VTG
Tel:  650-584-4026
Cell: 510-589-2625
DaveR@Synopsys.com



This archive was generated by hypermail 2b28 : Sat Dec 07 2002 - 21:38:59 PST