Skip to content

fix(fpga_diff): correct JTAG flash burst order#145

Open
klin02 wants to merge 1 commit into
OpenXiangShan:mainfrom
klin02:fix/jtag-flash-burst-order
Open

fix(fpga_diff): correct JTAG flash burst order#145
klin02 wants to merge 1 commit into
OpenXiangShan:mainfrom
klin02:fix/jtag-flash-burst-order

Conversation

@klin02

@klin02 klin02 commented Jul 17, 2026

Copy link
Copy Markdown
Member

Summary

Vivado assigns the rightmost data beat to the lowest address of an INCR transaction. Pack each flash burst in reverse textual order so binary words retain ascending memory addresses.

The byte order within each 32-bit word is unchanged.

Validation

  • ran the complete Tcl writer with mocked Vivado hardware commands
  • wrote the 10068-byte bootrom-noprint.bin using 256-word bursts
  • passed first, middle, and final sample readback checks
  • confirmed address 0x10000000 contains the first instruction 0x00000413

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