我有结构列表my_list
:
struct my_struct {
comparator[2] : list of uint;
};
my_list[10] : list of my_struct;
所有比较器的值都会不时配置一次。我想收集所有已配置比较器的范围,即哪个比较器都没有关系,如下所示:
cover comparators_were_cofigured_event is {
item configured_comparators : uint = my_list??? using //How to define the item so the range will relate to all comparators values?
ranges = {
range([0..50], "Small values");
range([51..100], "Big values");
};
};
如何定义覆盖项,以便范围处理列表中的每个值?谢谢您的帮助