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

[PyCDE] Restrict slicing index widths to clog2(len) #7277

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

teqdruid
Copy link
Contributor

@teqdruid teqdruid commented Jul 3, 2024

Previously, PyCDE was somewhat more loose on indexes into arrays/bitvectors. Now that we have the pad_or_truncate convenience method, lets be a bit more restrictive.

Previously, PyCDE was somewhat more loose on indexes into
arrays/bitvectors. Now that we have the pad_or_truncate convenience
method, lets be a bit more restrictive.
@teqdruid teqdruid added the PyCDE Python CIRCT Design Entry API label Jul 3, 2024
@teqdruid teqdruid merged commit 296d283 into main Jul 3, 2024
4 checks passed
@teqdruid teqdruid deleted the teqdruid/pycde/mux-restrict branch July 3, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PyCDE Python CIRCT Design Entry API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant