Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib.cdc: avoid modifying synchronizers in their elaborate() method.
- Loading branch information
whitequark
committed
Sep 23, 2019
1 parent
51f03bb
commit 86f0f12
Showing
3 changed files
with
34 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
86f0f12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dlharmon I redid this in a slightly cleaner way. If you happen to synthesize the same design for multiple different platforms (something nMigen aims to support) then not mutating the
Signal
s is useful. Please let me know if I made a mistake somewhere here.86f0f12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I built my multi clock 7series project with it and all was fine.
I've merged it with my #227 pull request and made the required changes there.