Closed fl4shk closed 4 years ago
No, something went wrong in your environment.
In particular struct logic_32
is the first type defined in ghdlsynth.h
. Please check the first lines of this file. Maybe it wasn't correctly installed.
It seems that perhaps there's something wrong with the yosys I installed with pacman (I'm on Arch Linux).
I'll try building yosys myself and see if that fixes it.
No, wait, I misunderstood what you were saying. Perhaps it's a problem with my GHDL installation.
Just found this as well - it seems the current GHDL release doesn't yet include https://github.com/ghdl/ghdl/commit/c44197a646adae880e0a8e0382dcde64b7aeec35#diff-40994b073e253eeba85e6147897961b7, which is required to compile it with yosys master.
I can compile current master of Yosys, ghdl-yosys-plugin and GHDL without problems. I do that sometimes 2 or 3 times a week to get the most recent features.
Ah, you want to use a release version of GHDL and not the current HEAD of master?
Indeed, you need master of ghdl to build with Yosys.
It doesn't look like ghdl-yosys-plugin is compatible with newest yosys.
Here is the result of me running
make
.no_more_build.txt