Repository navigation
Conversation
This commit reworks mainly bus_tx_flow, but also a few other components to a lesser degree, to source sda_o directly from the MSB of the sda shift register without any combinational logic or muxing. The only exception left is the IBI handler, which still features a direct sda output which is ANDed into the former one described above. Signed-off-by: Florian Glaser <glaserf@lowrisc.org>
This commit removes the ANDing of the direct sda_o of ibi.sv into the main sda_o of the I3C standby controller by moving the IBI init functionality into bus_tx_flow. It also makes sure that no deadlock can occur in the IBI module by only activating it, when all conditions for requesting an IBI are met. Signed-off-by: Florian Glaser <glaserf@lowrisc.org>
Removes all dv infra related to bus_tx and all references to it. Furthermore, fixes block-level dv in relation to bus_tx_flow. Signed-off-by: Florian Glaser <glaserf@lowrisc.org>
Refactor the interface to no longer encode the request types as one-hot but valid/value pair. Also, prepare for many more request types other than Bit/Byte/IBI. Signed-off-by: Florian Glaser <glaserf@lowrisc.org>
As per Sect. 5.1.2.3.2 of the spec; start to drive SDA low in PushPull mode on SCL rising edge of the ACK bit in case the target sees an ACK by the controller. Signed-off-by: Florian Glaser <glaserf@lowrisc.org>
Collaborator
Author
|
Replaced by #125. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR implements dynamic control of the drive mode of the SDA pad for the various parts of the I3C protocol, including the handoff special cases with mid-bit changes.
Furthermore, the drive mode signal is now taken directly from a register without any further logic.