See also LRM-88
    http://www.eda.org/sv/Changes_draft2/LRM_Changes_3.html
which was for SV-BC issue 103.  The proposal was
    http://www.eda.org/sv-bc/hm/att-1289/01-sized_enum.pdf
-- Brad
p.s. By the way, sometimes people don't want the minimum number
of bits.  For example, sometimes instead a one-hot encoding, as --
     localparam [3:0] RED = 4'b0001 ;
     localparam [3:0] GREEN = 4'b0010 ;
     localparam [3:0] BLUE = 4'b0100 ;
     localparam [3:0] YELLOW = 4'b1000 ;
or
     enum [3:0] {RED = 4'b0001,
                 GREEN = 4'b0010,
                 BLUE = 4'b0100,
                 YELLOW = 4'b1000 } ;
Received on Fri Oct 29 14:01:11 2004
This archive was generated by hypermail 2.1.8 : Fri Oct 29 2004 - 14:01:17 PDT