Skip to content
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

Find better way to handle special WireVector subclasses like _MemIndexed #406

Open
mdko opened this issue Sep 23, 2021 · 0 comments
Open
Labels
confusing or uncaught error PyRTL error messages not sufficient for situation

Comments

@mdko
Copy link
Contributor

mdko commented Sep 23, 2021

Special WireVector classes (beyond the normal Register/Const/Input/Output) like _MemIndexed, while not user-facing, end up being exposed nonetheless when used in conjunction with block methods. For example, see #405, which added a special error message to help alert the user why using the result of a memory read doesn't work as a key into the set of source/destination nets the block returns.

I suspect similar issues may occur when using a _MemIndexed as the input to a net transform, etc., so this issue is a call for further investigation and testing and possible internal rewrites to how _MemIndexed is implemented.

@mdko mdko added the confusing or uncaught error PyRTL error messages not sufficient for situation label Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confusing or uncaught error PyRTL error messages not sufficient for situation
Projects
None yet
Development

No branches or pull requests

1 participant