Re: [sv-bc] enum bit-/part-select

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Wed May 17 2006 - 11:13:01 PDT
  

For example, is the following legal?

    enum bit [1:0] {bronze, silver, gold} v;

    ...

    v[1:0] = 2'b11;

-- Brad

 

________________________________

From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of
Bresticker, Shalom
Sent: Wednesday, May 17, 2006 10:59 AM
To: sv-bc@eda.org
Subject: [sv-bc] enum bit-/part-select

 

Is it legal to do an assignment to a bit- or part-select of an enum?

 

Thanks,

Shalom

 

Shalom Bresticker

Intel Jerusalem LAD DA

+972 2 589-6852

+972 54 721-1033

I don't represent Intel 

 



image001.gif
Received on Wed May 17 11:13:02 2006

This archive was generated by hypermail 2.1.8 : Wed May 17 2006 - 11:13:08 PDT