Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
biquanha opened this issue Jul 18, 2024 · 1 comment
Open
3 tasks done
Labels
problem Problem requiring help

Comments

@biquanha
Copy link
Contributor

Before start

  • I have read the XiangShan Documents. 我已经阅读过香山文档。
  • I have searched the previous issues and did not find anything relevant. 我已经搜索过之前的 issue,并没有找到相关的。
  • I have searched the previous discussions and did not find anything relevant. 我已经搜索过之前的 discussions,并没有找到相关的。

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

  • XiangShan branch: master
  • XiangShan commit id: 06e334e
  • NEMU commit id:
  • SPIKE commit id:
  • Operating System:
  • gcc version:
  • mill version:
  • java version:

Additional context

No response

@biquanha biquanha added the problem Problem requiring help label Jul 18, 2024
@Tang-Haojin
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Problem requiring help
Projects
None yet
Development

No branches or pull requests

2 participants