OpenXiangShan / XiangShan

Open-source high-performance RISC-V processor
Other
4.75k stars 647 forks source link

How to enable the DebugModule of StandAloneDebugModule with the AXI version #3234

Open biquanha opened 2 months ago

biquanha commented 2 months ago

Before start

Describe you problem

I noticed the added functionality of the standalone generation module. It appears that the DebugModule supports custom data widths, so I tried to generate it using make StandAloneDebugModule DEVICE_BASE_ADDR=0x38020000 DEVICE_ADDR_WIDTH=32 DEVICE_DATA_WIDTH=256 DEVICE_TL=0, but encountered an error. debug

What did you do before

Initially, I thought it was an issue with parameter passing, so I changed the default value of dataWidth and debugModule.debug.node := TLBuffer() := TLFagementer(8:32) := xbar, but these changes didn't work. I suspect there might be an issue with how the data width is being passed.

Environment

Additional context

No response

Tang-Haojin commented 2 months ago

Please set DEVICE_DATA_WIDTH=64. Other DEVICE_DATA_WIDTH is not tested yet.