Skip to content

Clear ibi_descriptor when IBI_FIFO_RST and add additional IBI tests - #156

Merged
clayton8 merged 2 commits into
chipsalliance:v1p5from
clayton8:v1p5-ibi-multi-queue
Feb 28, 2026
Merged

clayton8 merged 2 commits into
chipsalliance:v1p5from
clayton8:v1p5-ibi-multi-queue

Conversation

@clayton8

Copy link
Copy Markdown
Collaborator

No description provided.

glaserf and others added 2 commits February 27, 2026 19:45
Soft-reset the IBI descriptor handler when the IBI TTI queue is cleared.
Note that this is considered a debug feature for FW bringup purposes
only; no measures are taken to prevent the various target FSMs ending up
in corrupted or incoherent states after such a queue clear.

Signed-off-by: Florian Glaser <glaserf@lowrisc.org>
Add test_ibi_multi_queue.py with 3 tests that pre-queue multiple IBI
descriptors into the TTI IBI FIFO before any are serviced:

- test_ibi_multi_queue_nack_recovery: queue 3 IBIs, NACK first until
  retry exhaustion, FW resets retry counter, all 3 drain in FIFO order
- test_ibi_multi_queue_partial_then_continue: queue 3 IBIs, partial-
  abort first, remaining 2 auto-advance from FIFO via Flush path
- test_ibi_multi_queue_mixed_abort: queue 4 IBIs with interleaved
  partial-abort and NACK recovery in a single sequence

Update target_ibi.hjson testplan with 3 new testpoints.
@clayton8
clayton8 merged commit 0568c12 into chipsalliance:v1p5 Feb 28, 2026
49 checks passed
@clayton8
clayton8 deleted the v1p5-ibi-multi-queue branch February 28, 2026 04:56

@mkj121 mkj121 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course really the IBI transactions should be adhering to the length restrictions in GETMRL but we don't enforce that in hardware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants