-
Notifications
You must be signed in to change notification settings - Fork 47
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
Schematic Viewer fails (GHDL + Yosys, Windows) #717
Comments
Hello I have the same issue. I think the problem is a bug in TerosHDL. The MSYS2 version of yosys, (package Therefore installing yosys this way does not create any I will be happy to learn any workaround. Thank you! Jakub |
Could you share an example? |
Hello @qarlosalberto, what kind of example do you have in mind? I installed ghdl and yosys (with a built-in ghdl-yosys-plugin) via MSYS2 from the mingw-w64-x86_64-eda package group. This installation creates working yosys and ghdl, but it does not create any ghdl.so file, which TerosHDL expects. This creates the following error when attempting to view a schematic diagram of a VHDL code within TersosHDL:
The original poster of this issues says that removing I had to clean up the command a little bit into this form first: When I ran it, I got this:
It seems that the operation was successful. Therefore I would propose to create another GHDL+Yosys option in the TerosHDL Global Settings/Schematic viewer/Backend, which would send nearly the same command as it does now, but without the Hope it makes sense and hope it works for others as well. Please let me know if you need any further information. Kind regards |
Describe the bug
The schematic viewer fails on windows for VHDL (GHDL + YOSYS):
The bug report also applies when trying to execute the schematic viewer from the hierarchy.
To Reproduce
GHDL and Yosys (as well as GNU Make and GTKWave) were installed using MSYS2 UCRT64 with the following command:
The binary paths to Yosys and GHDL are both set to
C:\msys64\ucrt64\bin
and performing the "Verify Setup" task successfully detects them.Is this a good way to install GHDL + Yosys on Windows? If not, what would be better? I'm using MSYS2 to benefit from an simple update system via pacman but if there is a more reliable way to use GHDL+Yosys with TerosHDL, I'm open for it.
Code
The error can be reproduced with the GHDL example included by TerosHDL.
Please complete the following information:
Additional context
If I perform the command in CMD manually, but remove
-m ghdl
from the command, it seems that everything performs as expected and a JSON file is written.It seems that the MSYS2 versions of Yosys and GHDL don't ship GHDL as shared library (there is no
\share\yosys
folder either), yet executingghdl
within Yosys performs just fine.The text was updated successfully, but these errors were encountered: