Issues with GHDL when compiling OSVVM packages

Why OSVVM™? Forums OSVVM Issues with GHDL when compiling OSVVM packages

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2712

    I first compiled the required dependencies and GHDL compiled them well. but when I compiled the AlertLogPkg.vhd, it didn’t and showed error like, ^
    osvvm/AlertLogPkg.vhd:5356:43:error: no overloaded function found matching “to_string”
    “= Expected : ” & to_string(Expected),
    I have the same errors for many things. I couldn’t get past this. Please help me with this. Thanks.

    #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.

    #2720
    Patrick
    Member

    Can you please provide the output of

    ghdl --version

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.