Repository navigation
[top,dv] Add the AXI crossbar smoke test - #833
Open
martin-velay wants to merge 2 commits into
Open
martin-velay wants to merge 2 commits into
martin-velay wants to merge 2 commits into
Conversation
mocha.h gives tests the ROM, the mailbox, the DRAM and the SW-DV window, but not the SRAM. In CHERI builds the accessor returns a capability bounded to the SRAM window, like the others. Signed-off-by: Martin Velay <mvelay@lowrisc.org>
From CVA6, write and read back both ends of the SRAM window and the mailbox threshold and interrupt enable registers, read both ends of the ROM window against the bootrom image of the same build, and read the HW_ID of the SW-DV window. A mailbox threshold written at the FIFO depth reads back clamped, which tells the mailbox from a memory. Signed-off-by: Martin Velay <mvelay@lowrisc.org>
martin-velay
force-pushed
the
axi_xbar_smoke
branch
from
November 27, 2026 10:49
764bcc0 to
dd93b85
Compare
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.
Closes #659.
Adds
axi_xbar_smokeandaxi_xbar_smoke_cheri, a SW test that reaches each device the issue lists through the AXI crossbar, plus the SW-DV window as the top-level testplan asks.rom_ctrl_smokealready embeds.In the UVM testbench,
top_chip_dv_axi_scoreboardalso reports any of these accesses that leaves the crossbar on the wrong port. The test is SW only, so it also runs in the Verilator and FPGA flows, where the read backs are the only check.mocha.hgetsmocha_system_sram()for it, andsram_basenext todram_basewith the line #812 adds, so the two PRs merge in either order.The debug memory and the RestOfChip port are left out: the first never answers while debug is disabled, and the UVM testbench leaves the second unconnected.
Tested with Xcelium (both tests, 5 seeds) and Verilator. With the crossbar's mailbox rule pointed at the SRAM port, the test fails on the clamped read back and the scoreboard reports the misroute.