-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with build_coverpoint() method for enum/list type #21
Comments
Hi Hodjat, Thanks, |
Hi Matthew, There is actually separate tests for the covergroup and coverage report, but not a combination for a coverpoint with
-Hodjat |
Hi Hodjat, pyvsc/ve/unit/test_coverpoint_bins.py Lines 46 to 49 in 67735fc
The coverpoint on a string is a different story. PyVSC doesn't currently support coverpoints on string values -- not to say that it shouldn't ;-). Is there a reason you need to use a string instead of an enum? If so, please open a separate enhancement request for that. By the way, I've released version 0.0.8 with the fixes needed for coverpoints on enum types. Thanks and Best Regards, |
Hi Matthew,
I need to define some coverpoints with enum/list type, but I guess
build_coverpoint()
method doesn't work properly ifcp_t=enum type
orcp_t=list type
. It throws a ZeroDivisionError due to not properly detecting thecoverItems
.Thanks,
Hodjat
The text was updated successfully, but these errors were encountered: