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
CRC generator #6
Conversation
Thank you, this is an excellent RFC! |
The only concern I actually have is the naming for the reset signal: |
Thanks for looking over it! I'm happy to rename |
Yep, sounds reasonable. |
We've discussed this PR on the 2023-05-15 weekly meeting. We ran out of time and did not arrive on a disposition. However, the following change was agreed on:
|
We've discussed this RFC on the 2023-05-22 weekly meeting. Several changes to the RFC were proposed, namely:
|
I've updated the RFC text to address the new design in amaranth-lang/amaranth#681. I also expanded the guide section significantly and detailed the full API in the reference section. Compared to what we discussed in the 2023-05-22 meeting:
|
Thanks! I'll review this as soon as I have time. |
We have discussed this RFC on the 2023-05-29 weekly meeting. The decision was to merge with the following changes:
Once again, thanks @adamgreig for the work on this RFC and the excellent addition to Amaranth it will make! |
I've updated this RFC text and the corresponding PR implementation to address the latest changes. The only slightly unanticipated change is that to split We discussed in the meeting having the parameters to |
I'm fairly sure this isn't necessary? In my original suggestion I did not plan on having |
Indeed, I was avoiding the bottom-of-module import as it's a bit irregular but it does avoid needing a separate module. I feel like exporting I'm happy to go any way on this, what's your preference? |
It's much better than a separate module! I think in a few places I import in a function. It's OK. It's normal Python.
That's what I was thinking. I have no opinion on whether |
OK, I've updated the implementation PR to move the |
@adamgreig Thanks! I'm going to merge this after one more lookover. |
Merged! Once more, thank you for all the work that went into CRC and addressing the review comments. |
See amaranth-lang/amaranth#681 for implementation.
Rendered.