Repository navigation
Conversation
added 2 commits
March 2, 2026 13:38
When we do the following test sequence: 1. IBI queued 2. (before bus AVAIL) Controller initiates CCC 3. I3C-Core sees "start" and transitions into RxFByteArb state During this state both bus_rx_flow and bus_tx_flow are executing. If the I3C-Core wins arbitrations it transitions using the bus_tx_rsp_i.done signal into the IbiReadAck and will wait here to detect the ACK from the controller. The problem is that that bus_rx_flow's DONE is flopped while the bus_tx_flow "DONE" is combinational and this causes the i3c_target_fsm to see a "stale" DONE from bus_rx_flow and if the I3C-Core's target address ends with a "1" the FSM sees "NACK" and immediately transitions into WaitRestart instead of properly waiting for the Controller's ACK/NACK Remove invalid TB workaround.
Two IBI tests had incorrect FW recovery sequences after retry exhaustion. HW does NOT auto-flush descriptor_ibi on IbiFailureRetry; FW must explicitly issue IBI_QUEUE_RST to clear stale data. test_ibi_multiple_arb_losses: - Add IBI_QUEUE_RST before IBI_RETRY_CTR_RST + fresh IBI queue - Add missing teardown() test_ibi_flush_from_idle_interrupt_flood: - Rewrite to verify correct HW behavior: descriptor_ibi stays in WriteMdb after retry exhaustion (state 3, not Idle) - Verify InhibitRetry prevents ibi_status_we_o flood (0 pulses) - Test FW recovery: IBI_QUEUE_RST + IBI_RETRY_CTR_RST + fresh IBI
Collaborator
Author
|
#162 is a better solution |
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.
When we do the following test sequence:
During this state both bus_rx_flow and bus_tx_flow are executing. If the I3C-Core wins arbitrations it transitions using the bus_tx_rsp_i.done signal into the IbiReadAck and will wait here to detect the ACK from the controller.
The problem is that that bus_rx_flow's DONE is flopped while the bus_tx_flow "DONE" is combinational and this causes the i3c_target_fsm to see a "stale" DONE from bus_rx_flow and if the I3C-Core's target address ends with a "1" the FSM sees "NACK" and immediately transitions into WaitRestart instead of properly waiting for the Controller's ACK/NACK
Remove invalid TB workaround.