Repository navigation
V1p5 Coverage + RSTACT 0x4/0x84 support - #140
Merged
Merged
Conversation
clayton8
force-pushed
the
v1p5-coverage-merge-work
branch
2 times, most recently
from
February 20, 2026 07:43
3ad5b2e to
ac743b3
Compare
…ture - Add I3C SDR bus monitor for continuous protocol verification - Add bus harness for signal visibility in cocotb tests - Add arbitration-aware I3C controller model (i3c_controller_fixed.py) - Add TE error event monitors with expect_error API - Update test interface with auto-start monitors (TTI, bus, TE, HDR, TE2) - Add common test helpers (VALID_I3C_ADDRESSES, timeout_task, log_seed) - Fix test wrapper (remove stale VERILATOR define) - Update build system (common.mk, top_common.mk, utils.py)
- Add generic FSM state transition tracker (fsm_state_tracker.sv) - Add FSM trackers for ccc, ccc_entdaa, descriptor_ibi, recovery_receiver - Add auto-generated AXI CSR transaction tracker from RDL register map - Add generator script (gen_axi_csr_tracker.py) and reg_gen updates - Add log parsing tools for all tracker types (6 scripts) - Trackers use explicit port connections (no stale defines)
- Add IBI tests with arbitration-aware handling and retry logic - Add edge-case tests: flush-from-idle, late-pending shifted address - Add IBI tests for AXI and AHB bus configurations - Tests cover: basic IBI, MDB, no-MDB, retry, flush, collision scenarios - Skip retry-flush tests pending IBI_QUEUE_RST design decision
- Add 52+ CCC tests covering all CCC command types - ENTDAA with TE3/TE4 error injection and parity verification - TE2 private write parity error detection tests - Padding error and chaining tests - Arbitration loss and abort scenario coverage - GETSTATUS Sr abort edge-case test - CCC stress tests with randomized sequences
- Add TE0 (reserved address) error detection tests - Add TE1 (CRC/parity) error detection tests - Add TE2 (data parity) private write error detection tests - Add TE3 (ENTDAA parity) and TE4 (ENTDAA address) error tests - Add TE5 (bus timeout) error detection tests - Per-byte counter granularity assertions - AXI-specific TE error test suite
- Add bus stall detection and recovery tests - Add bypass mode verification tests - Add empty queue read edge-case tests - Add recovery interface tests (fixed 6 failing tests) - Add target reset verification tests - Add interrupt verification tests (FORCE register pattern, enable gating)
- Update test_i3c_target.py for IBI rework and tx-fifo fix behavior - Update test_csr_access.py for new IBI and RSTACT CSR fields - Update test_enter_exit_hdr_mode.py for IBI rework changes - Update reg_map.py with RSTACT + IBI + PENDING_IBI register definitions - Update i2c_standby_controller Makefile for build compatibility These files overlap with upstream branches (florian/ibi-rework, i3c-rstact-fix, v1p5-i3c-tx-fifo). This branch's versions are considered golden and should take priority on merge conflicts.
Add missing testpoints and create new testplan files to match the actual cocotb test implementations in verification/cocotb/top/. Updated files: - target.hjson: +8 testpoints (private read, TX flush, mid-byte abort) - target_ccc.hjson: +29 testpoints (ENTDAA, TE errors, abort/chain, RSTACT) - target_hdr.hjson: +7 testpoints (HDR timeout timer) - target_recovery.hjson: +14 testpoints (RI errors, stress, parity isolation) - target_recovery_bypass.hjson: +1 testpoint (read) - target_reset.hjson: +13 testpoints (timing, FSM corner cases) New files: - target_ibi.hjson: 23 testpoints for IBI handling - target_te_errors.hjson: 8 testpoints for TE error detection - target_empty_queue.hjson: 12 testpoints for empty queue reads
clayton8
force-pushed
the
v1p5-coverage-merge-work
branch
from
February 20, 2026 17:34
d0726b6 to
8e2e000
Compare
test_target_reset.py was missing both sda_i and sda_o parameters. test_empty_queue_read.py was missing the sda_i parameter. Both are required positional args in I3cController.__init__. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…eout The dev_agent exhausted its 500-poll budget (~54us) before the bfm_agent completed its I3C handshake sequence (~85us) and wrote the first firmware data chunk. Added a handshake_done Event so dev_agent waits for bfm_agent to finish setup before polling the indirect FIFO. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
clayton8
force-pushed
the
v1p5-coverage-merge-work
branch
from
February 20, 2026 19:27
6c54290 to
3fffdee
Compare
…i3c_target_write Replace manual timeout poll loops for IRQ assert/deassert with RisingEdge/FallingEdge triggers. The global timeout_task watchdog handles hang detection. This eliminates fragile cycle-count timeouts that break when bus speed or clock frequency changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
clayton8
force-pushed
the
v1p5-coverage-merge-work
branch
from
February 20, 2026 19:59
3fffdee to
7bdd660
Compare
- Wrap bind axi_adapter in ifdef I3C_USE_AXI (fixes SVA-COBMMI in AHB builds) - Add unconnected recovery_payload_available_o, recovery_image_activated_o, and irq_o ports to i3c_wrapper instantiation (fixes TFIPC-L lint) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace U+00A7 (§) with 'Sec.' in comments and docstrings across cocotb test files. The section sign caused UnicodeEncodeError when cocotb's logging tried to emit tracebacks through an ASCII-only stream, masking actual test failure messages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Uh oh!
There was an error while loading. Please reload this page.