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

gen_msb: Tidying using modern eDSL #2039

Merged
merged 9 commits into from
May 16, 2024
Merged

gen_msb: Tidying using modern eDSL #2039

merged 9 commits into from
May 16, 2024

Conversation

anshumanmohan
Copy link
Contributor

Following on from the work of #2034 and #2036, this PR does some tidying on the single file gen_msb.py. The diff file will be very pleasing, as this file was really ripe for a little cleanup using modern eDSL features. We now pass as few strings as we can, infer as many widths as we can, and generally leave all group-creation to the builder library.

Closes #1673

@anshumanmohan anshumanmohan enabled auto-merge (squash) May 16, 2024 14:43
@anshumanmohan anshumanmohan merged commit 3db8a0c into main May 16, 2024
18 checks passed
@anshumanmohan anshumanmohan deleted the gen-msb-tidying branch May 16, 2024 14:58
jiahanxie353 pushed a commit to jiahanxie353/calyx that referenced this pull request May 29, 2024
* Tidy some cell generation

* Take a port by handle

* Use new lsh_use

* Use lsh_use more.

* More tidying using builder helpers

* No names for registers

* Tidy imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Systolic, NTT: use more helpers for cleaner eDSL code
1 participant