github-actions[bot] on nightly
elab-vhdl_context: remove cur_s… synth-vhdl_stmts: add comments … synth-vhdl_stmts: avoid a crash… and 1 more (compare)
tgingold on master
elab-vhdl_context: remove cur_s… synth-vhdl_stmts: add comments … synth-vhdl_stmts: avoid a crash… and 1 more (compare)
I am pretty sure there are cross-compilers for the windows targets.
@tgingold maybe you mean https://github.com/hackfin/ghdl-cross.mk ? I think that is different. That generates a GHDL to be executed on Linux, which will produce simulation models for Windows. But GHDL itself is not cross-compiled.
@mmicko, absolutely no pressure or rush at all. Having a solid and stable open source EDA ecosystem is a mid-long term project that requires a lot of people to coordinate. We will get there, step by step.
Hi everyone!
I am trying to install ghdl-ls on my WSL Ubuntu 18.04. Everything looks fine, but when I am calling ghdl-ls
I got following:
Traceback (most recent call last):
File "/home/arnfol/anaconda3/bin/ghdl-ls", line 5, in <module>
from pyGHDL.cli.lsp import main
File "/home/arnfol/anaconda3/lib/python3.8/site-packages/pyGHDL/cli/lsp.py", line 44, in <module>
import pyGHDL.libghdl as libghdl
File "/home/arnfol/anaconda3/lib/python3.8/site-packages/pyGHDL/libghdl/__init__.py", line 149, in <module>
libghdl = _initialize()
File "/home/arnfol/anaconda3/lib/python3.8/site-packages/pyGHDL/libghdl/__init__.py", line 131, in _initialize
_libghdl_path = _get_libghdl_path()
File "/home/arnfol/anaconda3/lib/python3.8/site-packages/pyGHDL/libghdl/__init__.py", line 126, in _get_libghdl_path
raise Exception("Cannot find libghdl {}".format(basename))
Exception: Cannot find libghdl libghdl-2_0_0_dev.so
Here is my installation script:
#!/usr/bin/env bash
sudo apt-get install -y libz-dev
sudo apt-get install -y gcc gnat
# get & install GHDL
git clone https://github.com/ghdl/ghdl.git
cd ghdl
mkdir build && cd build
../configure --prefix=/opt/ghdl
make && make install
# install PyGHDL
cd ..
pip3 install .
What am I doing wrong?
/opt/ghdl/lib/libghdl-2_0_0_dev.so
and here is my ghdl --dispconfig
output:command_name: /opt/ghdl/bin/ghdl
command line prefix (--PREFIX): (not set)
environment prefix (GHDL_PREFIX): (not set)
exec prefix (from program name): /opt/ghdl
library prefix: /opt/ghdl/lib/ghdl
library directory: /opt/ghdl/lib/ghdl
default library paths:
/opt/ghdl/lib/ghdl/ieee/v93/
/opt/ghdl/lib/ghdl/
Locate the directory where the shared library is installed.
Search order:
GHDL_PREFIX
- directory (prefix) of the vhdl libraries.VUNIT_GHDL_PATH
- path of theghdl
binary when using VUnit.GHDL
- name of, or path to theghdl
binary.- Try within
libghdl/
Python installation.- Try when running from the build directory.
GHDL_PREFIX=/opt/ghdl/lib/ ghdl-ls
cause the same error
GHDL=/opt/ghdl/bin/ghdl ghdl-ls
?
GHDL_PREFIX=/opt/ghdl/lib/ghdl ghdl-ls