fpga_diff: add UVHS XiangShan and GBus support - #163
Open
xiaokamikami wants to merge 7 commits into
Open
xiaokamikami wants to merge 7 commits into
xiaokamikami wants to merge 7 commits into
Conversation
xiaokamikami
force-pushed
the
feat/uvhs-adaptation-pr
branch
from
August 27, 2026 08:14
2c934cf to
2d3e424
Compare
xiaokamikami
force-pushed
the
feat/uvhs-adaptation-pr
branch
2 times, most recently
from
September 15, 2026 08:00
ecf15f0 to
4c62c18
Compare
Preserve shared DiffTest AXIS framing and workload DDR H2C. Add GBS1 register and GBD1 local SRAM DMA endpoints with backpressure, remove obsolete DDR C2H trace/ring paths, and add transport and supervisor regressions.
xiaokamikami
force-pushed
the
feat/uvhs-adaptation-pr
branch
from
September 16, 2026 05:07
4c62c18 to
1aab61e
Compare
Route GBus workload writes through the existing CPU-subsystem DMA AXI interface instead of a dedicated physical-DDR master. NutShell inserts a generated 256-to-64 AXI converter after the host-to-CPU CDC; KMH keeps the native 256-bit path and fails the file list when dma_* is missing. XDMA retains data_bridge, and GBus no longer exports or imports it. Remove the unused AXI3 arbiter, remote-link, and 64-to-256 converter left over from the rejected topology. The common UVHS DDR block is unchanged.
UVHS P4 still aborts infer_clock/transform_clock on protected GENERALBD sysbus LAST_VALUE pins even after exact config_clock -ignore. Keep the TCK diagnostics in the log and continue partition/PnR for GBus only.
U_UVHS_FLASH_GBUS is the UVHS ROM/flash path, not the DiffTest host interface. Gating it with CONFIG_DIFFTEST_HOSTIF_GBUS dropped the F0 clk6_n pair and failed bitstream DRC on IOSTDTYPE-1.
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.
This PR adds optional GBus transport support to the existing FPGA-Diff flow while preserving XDMA as the default interface.
The UVHS XiangShan GBus configuration has been validated on hardware with FPGA-Diff reaching HIT GOOD TRAP.