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

About the version of YOSYS #7

Open
yzcccccccccc opened this issue May 8, 2024 · 3 comments
Open

About the version of YOSYS #7

yzcccccccccc opened this issue May 8, 2024 · 3 comments

Comments

@yzcccccccccc
Copy link

The Readme file instructs to install yosys with apt install yosys, which will only get a low version of yosys tools. This version of yosys still have some bugs and cannot handle specific HDL files.

For example, I generated ALU.sv (see the attachment) from CHISEL, which means that there is little possibility that my source code is wrong. However, yosys tool will triggered a error as unexpected token blablabla....

One possible way to fix this is following the guide at YOSYS(https://github.com/YosysHQ/yosys) to install the latest version. Actually this works for me. :)

ALU.zip

@sashimi-yzh
Copy link
Contributor

Which version of chisel do you use? 3.x or above?

@yzcccccccccc
Copy link
Author

Which version of chisel do you use? 3.x or above?

I use the environment from OSCPU/chisel-playground, which means my chisel version shall be the latest one (namely 6.3.0)?

@sashimi-yzh
Copy link
Contributor

We have reproduced the issue.

You are right. This issue can only be fixed with a higher version of yosys. Besides installing the latest version of yosys, using ubuntu 24.04 is another solution.

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

No branches or pull requests

2 participants