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

Package the IP and compile it into a Verilog module #3743

Open
5 tasks done
han-jianing opened this issue Oct 15, 2024 · 2 comments
Open
5 tasks done

Package the IP and compile it into a Verilog module #3743

han-jianing opened this issue Oct 15, 2024 · 2 comments
Labels
feature request Feature request to be considered

Comments

@han-jianing
Copy link

han-jianing commented Oct 15, 2024

Before start

  • I have read the RISC-V ISA Manual. 我已经阅读过 RISC-V 指令集手册。
  • 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,并没有找到相关的。
  • I have reviewed the commit messages from the relevant commit history. 我已经浏览过相关的提交历史和提交信息。

Describe the feature you'd like

能不能把香山的核封装成一个IP?把中断,AXI,JTAG暴露出来,编译成一个verilog的模块呢?

[TRANSLATION]
Can Xiangshan's core be encapsulated as an IP? What about exposing interrupts, AXI, JTAG and compiling them into a verilog module?

Additional context

No response

@han-jianing han-jianing added the feature request Feature request to be considered label Oct 15, 2024
@han-jianing han-jianing changed the title 封装IP 封装IP 编译成一个verilog的模块 Oct 15, 2024
@Ma-YX Ma-YX changed the title 封装IP 编译成一个verilog的模块 Package the IP and compile it into a Verilog module Oct 24, 2024
@Ma-YX
Copy link
Contributor

Ma-YX commented Oct 24, 2024

感谢您的提问。如果您需要香山核的verilog代码,可以在XiangShan文件夹下执行make verilog命令,可以在build文件夹查看对应verilog代码。
欢迎您进行尝试,在尝试过程中如有具体问题,欢迎继续提问,共同探讨。

Thank you for your question. If you need the Verilog code, you can run the make verilog command in the XiangShan folder, and verilog code is in build folder. You are welcome to try it, and if you encounter any specific issues during the process, feel free to ask further questions, and we can explore them together.

@cebarobot
Copy link
Member

目前,香山核本身就是包装为 XSTile 模块来集成进各种 SoC 系统的,您可以在生成后的 Verilog 中找到 XSTile 模块,并参照我们仿真用 SoC 模型的集成方式进行继承。

Currently, XiangShan Core is packaged into module XSTile to Integrate into other SoC systems. You could find the XSTile.sv in the generated Verilog files and follow the SimTop to integrate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request to be considered
Projects
None yet
Development

No branches or pull requests

3 participants