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

no error when make verilog, but no Top.v generated #3530

Open
3 tasks done
han-jianing opened this issue Sep 10, 2024 · 6 comments
Open
3 tasks done

no error when make verilog, but no Top.v generated #3530

han-jianing opened this issue Sep 10, 2024 · 6 comments
Labels
problem Problem requiring help

Comments

@han-jianing
Copy link

han-jianing commented Sep 10, 2024

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

make verilog 不报错,但无法生成Top.v

[TRANSLATION] No error when make verilog, but no Top.v generated

What did you do before

执行了make init 和make verilog,内存以及修改小

[TRANSLATION] I did make init and make verilog, and also modified the memory limit.

Environment

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

Additional context

No response

@han-jianing han-jianing added the problem Problem requiring help label Sep 10, 2024
@cebarobot
Copy link
Member

请提供更多信息以协助我们诊断问题,例如:

  • make verilog 时的输出
  • buildbuild/rtl 目录下的文件列表

Please provide more information to help us diagnose the issue, such as:

  • The output when running make verilog
  • The list of files in the build and build/rtl directories

@cebarobot cebarobot changed the title make verilog 不报错,但无法生成Top.v no error when make verilog, but no Top.v generated Sep 10, 2024
@han-jianing
Copy link
Author

屏幕截图 2024-09-10 154310
屏幕截图 2024-09-10 154349
以上是运行的结果,我第一次使用github提问,有些不熟练,请您多多包涵,谢谢!

@cebarobot
Copy link
Member

@han-jianing 请检查 build 文件夹下的 rtl 文件夹,看看里面有没有你想要的文件。

Please check rtl folder under build, to see if there is what you wanted.

@han-jianing
Copy link
Author

屏幕截图 2024-09-10 154952
这个是我看的一个帖子,但我没有找到XSTop.v文件,rtl下也没有,有一个XSTop.sv文件。这个没关系的吗?麻烦您了,谢谢您!

@cebarobot
Copy link
Member

build/rtl/XSTop.sv 就是您要找的 build/XSTop.v。这篇文章可能是较早前写的,我们对生成的 Verilog/SystemVerilog 文件位置做了一些修改,不影响正常使用。

build/rtl/XSTop.sv is the new name of build/XSTop.v. This article may be written earlier. We have made some modifcations to the generated Verilog/SystemVerilog files, which do not affect the use.

@han-jianing
Copy link
Author

好的好的,非常感谢您!

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