ghdl / ghdl-yosys-plugin

VHDL synthesis (based on ghdl)
GNU General Public License v3.0
304 stars 31 forks source link

No longer seems to build with newest Yosys? #117

Closed fl4shk closed 4 years ago

fl4shk commented 4 years ago

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

tgingold commented 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.

fl4shk commented 4 years ago

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.

fl4shk commented 4 years ago

No, wait, I misunderstood what you were saying. Perhaps it's a problem with my GHDL installation.

flokli commented 4 years ago

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.

tmeissner commented 4 years ago

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?

tgingold commented 4 years ago

Indeed, you need master of ghdl to build with Yosys.