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

Pre-built yosys doesn't support tcl scripts #65

Open
tarik-ibrahimovic opened this issue Mar 5, 2025 · 2 comments
Open

Pre-built yosys doesn't support tcl scripts #65

tarik-ibrahimovic opened this issue Mar 5, 2025 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tarik-ibrahimovic
Copy link
Collaborator

Pre-built cc-toolchain-linux yosys doesn't support tcl scripts, which makes it incompatible with FuseSoC!

From the documentation:

yosys> help tcl

tcl <filename> [args]

This command executes the tcl commands in the specified file.
Use 'yosys cmd' to run the yosys command 'cmd' from tcl.

And with the latest CC pre-built toolchain:

yosys> help tcl
No such command or cell type: tcl

@pu-cc
Copy link
Collaborator

pu-cc commented Mar 5, 2025

As far as we remember, there were problems with cross-compiling the tcl extension for Windows. But I can certainly take a look at the current status.

So currently, it is not part in the pre-built yosys for Windows and linux that we provide, but there are other solutions if you want to use it:

  • you can build it yourself
  • did you try the official pre-build yosys binaries, or the one offered by your package manager?

@tarik-ibrahimovic
Copy link
Collaborator Author

I usually use a source-built Yosys, but while setting up a new machine recently, I wanted to speed up the process with pre-built binaries. This is more of a feature request for compatibility with FuseSoC, which integrates the gatemate toolchain out of the box. However, to use it, you currently have to build Yosys from source, which can be inconvenient for first-time users.

@chili-chips-ba chili-chips-ba added the enhancement New feature or request label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants