Open yzcccccccccc opened 2 months ago
Which version of chisel do you use? 3.x or above?
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)?
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.
The
Readme
file instructs to install yosys withapt 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 asunexpected 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