-
Notifications
You must be signed in to change notification settings - Fork 12
Add LFSR generator to standard library #72
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
base: main
Are you sure you want to change the base?
Conversation
We discussed this RFC in today's meeting. On alternatives:
Keep both for now. We could deprecate one later if needed without changing the interface.
Keep it as it's vital functionality for planned use cases.
Keep them, the utility seems worth the minimal complexity. On the unresolved questions:
Swap to using streams for ready/valid, and keep ResetInserter for resetting.
Requiring all-0s initial values can be left to synthesis tools. No need to include here. Future workAdd some way to load a specific new state. The proposed option after discussion is a Other points
|
@adamgreig Do you think you could update the RFC with the conclusions from the meeting? |
🎉 |
I've updated with the feedback from the review meeting, with one variation:
I considered this but it also means the |
This is my first draft of an LFSR generator for the standard library, following in the general design of the existing CRC generator. There are a few unresolved details and some remaining questions on exactly how the implementation will work, but I am working on a first pass at that too.
Rendered