Reply To: Issues with GHDL when compiling OSVVM packages

Why OSVVM™? Forums OSVVM Issues with GHDL when compiling OSVVM packages Reply To: Issues with GHDL when compiling OSVVM packages

#2713
Jim Lewis
Member

Are you running a current version of GHDL? Our github actions run with GHDL every day. See: https://github.com/OSVVM/OsvvmLibraries/actions

Did you use the directions in OsvvmLibraries/Documentation/Scripts_user_guide.pdf?

Here they are:
GHDL in Windows
~~~~~~~~~~~~~~~~

Initialize the OSVVM Script environment by doing:

   winpty tclsh
   source <path-to-OsvvmLibraries>/OsvvmLibraries/Scripts/StartUp.tcl

To simplify this, put source /OsvvmLibraries/Scripts/StartUp.tcl
in the .tclshrc file and add a windows short cut that does
C:\tools\msys64\mingw64.exe winpty tclsh.

GHDL in Linux
~~~~~~~~~~~~~~~~

Initialize the OSVVM Script environment by doing:

   rlwrap tclsh
   source <path-to-OsvvmLibraries>/OsvvmLibraries/Scripts/StartUp.tcl

To simplify this, put source /OsvvmLibraries/Scripts/StartUp.tcl
in the .tclshrc file and in bash add alias gsim=’rlwrap tclsh’ to your .bashrc.

Once you have done these, you build OsvvmLibraries by doing:

build $OsvvmLibraries/OsvvmLibraries.pro

Compiling the whole OsvvmLibraries in GHDL takes less than 60 seconds.