Covergroup identification #723
Unanswered
GiamboVuolo
asked this question in
Q&A
Replies: 1 comment 1 reply
-
According to the rules of the language, covergroups declared inside classes are anonymous, and their name is instead used to create a class property of that covergroup type, which is what you're seeing. You should be able to find the anonymous covergroup type itself in the class members list though? If not that's a bug that can be fixed, just open an issue and I'll look into it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm having trouble when getting out coverage groups informations in the ast. The fact is that when I declare and instantiate the coverage group in a module, it is shown in the ast as "kind: CovergroupType" with its coverpoints and bins, while if I instantiate it inside of a class, it sees it as "kind: ClassProperty". As consequence, the information about its bins and coverpoints is lost.
I provide a dummy test with the two configurations and the file .json I obtain.
Let me know if you can help me, thank you!
`module test_top;
endmodule
`
`
class packet;
endclass`
Beta Was this translation helpful? Give feedback.
All reactions