This repository was archived by the owner on Jan 5, 2026. It is now read-only.
spi2: Put register to I/O block for the 7-series interface#168
Draft
occheung wants to merge 3 commits intom-labs:masterfrom
Draft
spi2: Put register to I/O block for the 7-series interface#168occheung wants to merge 3 commits intom-labs:masterfrom
occheung wants to merge 3 commits intom-labs:masterfrom
Conversation
Contributor
Author
|
The I suspect the way vivado apply IOBs in the same OLOGIC is by naively check if the flip-flops have identical controls. But given the reset is synchronous, it can always be moved into the LUTs prior to the FF. vivado seems to not attempt this transformation for IOB FFs. One solution is to instruct vivado manually by inserting But, do we need the |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ideally, this patch should only involve adding
"iob"attributes.However, IOB inference requires a direct connection from the register to the I/O pad (there are no logic in between).
sdoreaches the I/O pad directly.Requiring users to supply an appropriate
sdokeeps it as a direct connection.Instead of having user to supply a variable length control signals that are identical, it now takes the tristate control signals 1 cycle in prior.
Require migen PR that adds IOB attribute.