Hardware interview practice
Arrayed coverage bins
How are values normally partitioned by this declaration?
Starting point
Question code
coverpoint v { bins bucket[2] = {[0:7]}; }Choose one
Answer choices
- A. bucket[0] gets 0 through 3 and bucket[1] gets 4 through 7
- B. Both bins independently contain all values 0 through 7
- C. bucket[0] gets even values and bucket[1] gets odd values
- D. Only values 0 and 1 are covered because the array size is two
