[Pkg-electronics-devel] Yosys GHDL plugin

Daniel Gröber dxld at darkboxed.org
Mon Feb 6 22:19:59 GMT 2023


Hi Andreas,

I finally got around to taking a stab at the yosys plugin.

On Tue, Jan 17, 2023 at 02:31:25AM +0100, Andreas Bombe wrote:
> I tried compiling the the yosys plugin and it worked once I changed the
> makefile. The libghdl path returned by ghdl in the package is currently
> wrong and it won't find it. However there is no reason to link it
> directly by file name, when I change the filename to -lghdl instead it
> compiles fine. I didn't test it beyond that though.

Yeah, that's fine we can fix that in the next ghdl upload. I'll send a
patch for that as soon as the plugin package is sorted because I have to
hurry to get it in before the freeze.

Running the yosys plugin's testsuite everything seems to check out as soon
as I install ghdl-gcc because otherwise the files in
/usr/lib/ghdl/gcc/vhdl/ieee/v93 are missing. I wonder if libhghdl-2-0-0
should depend on ghdl-gcc to reflect this so users of the library don't
have to hardcode this?

Reviewing your patch stack I see that you did't follow my recommendation of
basing your packaging on my post 2.0.0 release upstream patches so keep in
mind that we're going to be in for some more breakage due to shifting of
install paths when we upgrade to 3.0.

--Daniel



More information about the Pkg-electronics-devel mailing list