Assume I have queue of bits (bit my_bits[$]). What is the syntax for covering this queue:
a. my_bits sizes (1 to 10 for example)
b. my_bits values (each index in queue was 1 and 0)
c. my_bits all values (0 to 1024, for 10 bits)
Assume I have 16 bit vector. I want to separate the covered values to 1024 bins. what is the easiest way for doing it?
Is it possible to cover enumarations?
For example, Assume I have this structure: bit my_bits[ACTION][$]
Action is enumaration of ADD, MULT. queue is fixed length.
I want to see each combination of (ACTION, my_bits[ACTION] value)
A covepoint can sample any integral value. That value could be a single variable, a function call, or any, integral expression. So to cover different size from 1 to 10, you can write