[sv-bc] Uninitialized enums?

From: Clifford E. Cummings <cliffc_at_.....>
Date: Mon Jun 19 2006 - 22:27:08 PDT
Hi, All -

I think Steve Sharp brought this up once but a quick search of the 
svdb did not help me find the answer.

If a 2-state enum variable is not initialized, does it go to 0, X or 
to the value of the first numerated name in the list?

If a 4-state enum variable is not initialized, does it go to X or to 
the value of the first enumerated name in the list?

I remember the debate. I do not remember the outcome. I cannot find 
the Mantis item for this question.

Vendors are currently giving different results for this.

Thanks - Cliff

----------------------------------------------------
Cliff Cummings - Sunburst Design, Inc.
14314 SW Allen Blvd., PMB 501, Beaverton, OR 97005
Phone: 503-641-8446 / FAX: 503-641-8486
cliffc@sunburst-design.com / www.sunburst-design.com
Expert Verilog, SystemVerilog, Synthesis and Verification Training
Received on Mon Jun 19 22:27:16 2006

This archive was generated by hypermail 2.1.8 : Mon Jun 19 2006 - 22:27:43 PDT