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

新版本的Nutshell 按照readme中的教程好像生成不了fpga工程 #200

Closed
Taylorsbear720 opened this issue Jun 12, 2024 · 2 comments · Fixed by #206
Closed

新版本的Nutshell 按照readme中的教程好像生成不了fpga工程 #200

Taylorsbear720 opened this issue Jun 12, 2024 · 2 comments · Fixed by #206

Comments

@Taylorsbear720
Copy link

我在用最新的nutshell生成fpga工程时会报错。
报错原因为, 在执行make之后不会在/build下生成Topmain.v而是在build/rtl下生成TopMain.sv
执行make verilog也是生成TopMain.sv文件,这和之前版本生成的文件不一致,这也导致在进入fpga后生成工程时,会导致说找不到Topmain.v文件。
img_v3_02bp_4f4e5aef-82c8-47a6-8fb1-d0d02f84da6g
img_v3_02bp_bbfb8942-98e0-42bb-a95e-587819e0c44g

@Taylorsbear720
Copy link
Author

尝试修改了common.tcl 将路径修改为正确的地址加后缀,同时将没有runahead文件注释掉。这样可以生成成功,但是生成的工程没有nutshell.bd,会形成如下的(这里我已经修改过文件的名字):
img_v3_02bq_9b70a2e4-96fe-44ae-b987-3bcdfb1bdd8g
img_v3_02bq_25a43443-dd9d-43f0-a5b9-dfd862e92e7g

@dzwduan
Copy link

dzwduan commented Jul 12, 2024

改一下这里

:+ CIRCTTargetAnnotation(CIRCTTarget.SystemVerilog)

读circt文档

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 a pull request may close this issue.

2 participants