-
Notifications
You must be signed in to change notification settings - Fork 481
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
vpi_interator API needs to allow the full range of object types, not just vpiNet #40
Comments
Closed
This will be implemented by issue #17 so closing. |
chiggs
added a commit
to chiggs/cocotb
that referenced
this issue
Sep 4, 2017
chiggs
added a commit
to chiggs/cocotb
that referenced
this issue
Sep 4, 2017
Fixes cocotb#40: Don't assume the iterable has a length
ktbarrett
pushed a commit
to ktbarrett/cocotb
that referenced
this issue
Mar 6, 2020
ktbarrett
pushed a commit
to ktbarrett/cocotb
that referenced
this issue
Mar 6, 2020
Fixes cocotb#40: Don't assume the iterable has a length
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One of the most useful features of pyHVL in large ASIC projects has been the simple access to the VPI iterators/ scan API.
For this to be useful though, it has to be more flexible than just vpiNet (e.g, vpiModule to walk the design hierarchy)
Ideally the full set of VPI constants would be accessible from Python and could be passed through the iterate_signals call (or probably a more generic 'iterate' API if you want to keep iterate_signals specific to vpiNets
PyHVL actually generated the defines dynamically by parsing the vpi_user.h - I could port that code over. It then populated the Python namespace with those vpi defines.
The text was updated successfully, but these errors were encountered: