Open walido78 opened 2 years ago
Thanks for the enhancement request, @walido78. If I'm reading this correctly, you a set of designs where the coverage data to be collected is identical (same coverpoints, same bins, same data to be sampled), but you want the coverage for each design to be captured in a different type of covergroup.
Yes that is correct.
Hello, As I was writing my test cases in CocoTB, I had a design where there was 10 subdesigns that are identical. Currently the only way to create a covergroup for each entity (i.e sub-design), is for example to duplicate this code 10 times:
and instantiate it with each different entity.
So a good enhancement could be to write :