Closed xwzheng1020 closed 2 years ago
cocotb version: latest os: win10 64bit simulator: modelsim 2019.2 python: 3.9.12
When I try to use multi language (Verilog and VHDL) to run simulation with modelsim, it will fail when loading C:/ProgramData/Anaconda3/lib/site-packages/cocotb/libs/cocotbvpi_modelsim.dll .
C:/ProgramData/Anaconda3/lib/site-packages/cocotb/libs/cocotbvpi_modelsim.dll
It seems to get a weird GPI_EXTRA value. I found in the makefile GPI_EXTRA is equal to C:/ProgramData/Anaconda3/lib/site-packages/cocotb/libs/cocotbfli_modelsim.dll:cocotbfli_entry_point. But when getenv( https://github.com/cocotb/cocotb/blob/bdcffda4cbec9bd9034cc787c60a9fadfb6bb904/cocotb/share/lib/gpi/GpiCommon.cpp#L183), it becomes to C;C:\ProgramData\Anaconda3\Library\ProgramData\Anaconda3\lib\site-packages\cocotb\libs\cocotbfli_modelsim.dll;cocotbfli_entry_point
C:/ProgramData/Anaconda3/lib/site-packages/cocotb/libs/cocotbfli_modelsim.dll:cocotbfli_entry_point
C;C:\ProgramData\Anaconda3\Library\ProgramData\Anaconda3\lib\site-packages\cocotb\libs\cocotbfli_modelsim.dll;cocotbfli_entry_point
This will cause load failure.
See #3013
@marlonjames I guess this means it isn't just an issue with Riviera.
cocotb version: latest os: win10 64bit simulator: modelsim 2019.2 python: 3.9.12
When I try to use multi language (Verilog and VHDL) to run simulation with modelsim, it will fail when loading
C:/ProgramData/Anaconda3/lib/site-packages/cocotb/libs/cocotbvpi_modelsim.dll
.It seems to get a weird GPI_EXTRA value. I found in the makefile GPI_EXTRA is equal to
C:/ProgramData/Anaconda3/lib/site-packages/cocotb/libs/cocotbfli_modelsim.dll:cocotbfli_entry_point
. But when getenv( https://github.com/cocotb/cocotb/blob/bdcffda4cbec9bd9034cc787c60a9fadfb6bb904/cocotb/share/lib/gpi/GpiCommon.cpp#L183), it becomes toC;C:\ProgramData\Anaconda3\Library\ProgramData\Anaconda3\lib\site-packages\cocotb\libs\cocotbfli_modelsim.dll;cocotbfli_entry_point
This will cause load failure.