Skip to content

fix(fpga): handle XDMA sim shutdown and single-channel fallback in software path#852

Open
xiaokamikami wants to merge 1 commit intomasterfrom
xdma-sw-pr-master
Open

fix(fpga): handle XDMA sim shutdown and single-channel fallback in software path#852
xiaokamikami wants to merge 1 commit intomasterfrom
xdma-sw-pr-master

Conversation

@xiaokamikami
Copy link
Copy Markdown
Member

Background

In FPGA_SIM + USE_THREAD_MEMPOOL + CONFIG_DMA_CHANNELS==1, the XDMA software path may not exit cleanly or drain the last difftest packets reliably, which can leave the run without a visible HIT GOOD TRAP.

Changes

  • add interrupt/close handling for xdma_sim
  • make XDMA receive threads exit cleanly on shutdown
  • add a single-channel fallback path in FPGA sim threaded mode
  • switch software reset control to the current host I/O interface

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