Skip to content

Wait between VIP DMI writes for corrected Capture status - #314

Open
lionelZhaowy wants to merge 4 commits into
pulp-platform:mainfrom
lionelZhaowy:fix/jtag-write-idle
Open

lionelZhaowy wants to merge 4 commits into
pulp-platform:mainfrom
lionelZhaowy:fix/jtag-write-idle

Conversation

@lionelZhaowy

@lionelZhaowy lionelZhaowy commented Nov 7, 2026 •

Copy link
Copy Markdown

The VIP previously sent DMI writes without checking their status. Eight idle TCK cycles provided spacing but could still hide a rejected or incomplete operation.

The VIP now checks the write-request scan and a later NOP completion scan. It also checks DTMCS sticky status, because the locked DTM can retain stale DMI scan bits after FAILED. jtag_write keeps its existing arguments and stops on non-SUCCESS status. jtag_write_status returns status for directed tests. Neither task retries writes or clears sticky errors. Command and SBA polling stay unchanged.

make sim-test-jtag-write runs the directed regression with the locked driver, TAP and CDC. Both the locked and corrected DTM pass all seven profiles: normal latencies 0/4/12, long response delay, request backpressure, FAILED and BUSY. Normal profiles check 32 writes each. Error profiles check sticky rejection, explicit recovery and no duplicate write.

The complete SoC/VIP compiles with VCS W-2024.09-SP1 and runs JTAG HelloWorld to a zero return. Local license, clang-format 14, and official hw-all, sw-all, sim-all checks also pass. Software uses the CI GCC 12.2.0 release. These results do not claim a full SoC regression.

The earlier strict-DTM comparison and fixed inputs are documented in target/sim/test/JTAG_WRITE_WAIT.md. That comparison still reproduces the original spacing failure. No standalone failure against the current locked DTM is claimed.

Prepared with OpenAI Codex assistance. The reported simulations ran with VCS.

The license job now uses Ubuntu 24.04, which supports the action's pinned Python 3.9. All four fork lint jobs pass, including the actual license checker.

AI assistance: OpenAI Codex assisted implementation and validation.
@lionelZhaowy lionelZhaowy changed the title Space VIP DMI writes for strict Capture status Wait between VIP DMI writes for corrected Capture status Nov 13, 2026

This branch has not been deployed

No deployments
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.

1 participant