0

I've written a coverage collection code that contains coverpoints and crosses , I don't want some of the coverpoints to affect the collection percentage , so I used option.weight=0 in them , but when I open the simulator , it tells me that the weight is 1 (default value) ! . why doesn't my change catch ?

Adi
  • 81
  • 3
  • 4
  • 12

1 Answers1

0

You might be looking at per type coverage (as opposed to per instance coverage). In that case, you should set type_option.weight.

Tudor Timi
  • 7,453
  • 1
  • 24
  • 53