Add enum item to type - Specman

142 Views Asked by At

I have: type color : [ blue = 1, white = 2]; I want to extend this type and add: black=0 how should I do that? thanks,

1

There are 1 best solutions below

0
user3467290 On

you can extend the type -

extend color : [ black =  0];