VMM document suggests:
" The coverage weight of a covergroup should be set to the number of coverpoints and cross-points with a non-zero coverage weight."
should you please explain this. Following is the example regarding this:
``` verilog
covergroup frame_coverage;
direction: coverpoint is_tax {
bins Tx = ...:
bins Rx = ...;
option weight = 0;
}
hugen: coverpoint efg.huge_enable {
option weight = 0;
}
max fl: coverpoint cfg.max_frame_len {
bins fl_1500 = ...;
bins El_1518 = ...;
bins fl_0600 = ...;
option weight = 0;
}
frame len: coverpoint frame_len {
bins max_fl_lesz_4 = ...;
bins max_fl_less_1 = ..;
bins max_fl = ...;
bins max_fl_plus_1 = ...;
bins max_fl_plus_4 = ...;
bins max_size = ...;
option.weight = 0;
}
cross direction, hugen, max_f1, frame_len ...
option.weight = 2 + 3 * 6; //why this???
endgroup: frame coverage