We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在尝试使用 yosys-sta 项目评估样例设计或个人 RTL 设计的时序与功耗时,我遇到了多个 Yosys 指令不被支持 的报错,严重影响流程使用。经过排查发现,这些问题均与 Yosys 版本不兼容有关,现汇总如下并提出改进建议。
yosys-sta
autoname
ERROR: TCL interpreter returned an error: invalid command name "autoname"
clockgate
ERROR: TCL interpreter returned an error: invalid command name "clockgate"
check -mapped
ERROR: Command syntax error: Unknown option or option in arguments.
| 初始环境 | Ubuntu 22.04, 默认 Yosys 版本为 0.9 | 尝试版本1 | 克隆 GitHub 上 https://github.com/OSCPU-Platform/yosys.git 编译,依然缺失命令 | | 最终解决 | 使用 https://gitee.com/OSCPU/yosys.git 编译的 Yosys 版本成功支持全部命令 |
https://github.com/OSCPU-Platform/yosys.git
https://gitee.com/OSCPU/yosys.git
yosys.tcl
The text was updated successfully, but these errors were encountered:
这些是新版yosys的标准命令,并不是我们自行添加的,具体可参考yosys的官方文档。
初步推测是因为你没有按照README中对yosys版本的要求去尝试,导致使用了旧版的yosys。若按照README尝试后仍然遇到问题,欢迎继续讨论。
Sorry, something went wrong.
No branches or pull requests
问题概述
在尝试使用
yosys-sta
项目评估样例设计或个人 RTL 设计的时序与功耗时,我遇到了多个 Yosys 指令不被支持 的报错,严重影响流程使用。经过排查发现,这些问题均与 Yosys 版本不兼容有关,现汇总如下并提出改进建议。遇到的报错(依次出现)
1.
autoname
报错ERROR: TCL interpreter returned an error: invalid command name "autoname"
2.
clockgate
报错ERROR: TCL interpreter returned an error: invalid command name "clockgate"
3.
check -mapped
报错ERROR: Command syntax error: Unknown option or option in arguments.
check -mapped
调试过程与尝试的解决方案
| 初始环境 | Ubuntu 22.04, 默认 Yosys 版本为 0.9
| 尝试版本1 | 克隆 GitHub 上
https://github.com/OSCPU-Platform/yosys.git
编译,依然缺失命令 || 最终解决 | 使用
https://gitee.com/OSCPU/yosys.git
编译的 Yosys 版本成功支持全部命令 |问题分析
yosys.tcl
使用了autoname
、clockgate
、check -mapped
等非标准指令。The text was updated successfully, but these errors were encountered: