Hi,
I would like to know if there is a way of getting uncovered combinations of cross bins to be used in a feedback coverage scheme.
Let’s say I have the following coverpoints being crossed. And my randomization “never” generates the combination of ‘addr1-IDLE’, for example. My idea is to collect the uncovered cross bins and use it in a distribution weighting to improve my stimulus generation.
I know SystemVerilog doesn’t allow querying coverage on individual coverage bins. And I also know there is a workaround which is to create individual coverpoints for each bin. But how can I do this for cross bins? Can I use querying coverage functions like get_coverage(), get_inst_coverage(), …?
ADDRESS : coverpoint addr {
bins addr0 = {0};
bins addr1 = {1};
bins addr2 = {2};
bins addr3 = {3};
}
CMD : coverpoint cmd {
bins READ = {0};
bins WRITE = {1};
bins IDLE = {2};
}
CRS_ADDR_CMD : cross ADDRESS, CMD;
Thank you.