I'm using the command line argument -modelsimini <modelsim.ini> to specify my own modelsim.ini file for most QuestaSim / ModelSim executables.
This works perfectly fine on Linux for vcom and vsim, as well as for vcom on Windows. But the Windows vsim aborts and throws an error:
C:MentorQuestaSim6410.4cwin64vsim.exe -do do D:/git/PoC/sim/vSim.batch.tcl -c -modelsimini D:gitPoCtempprecompiledvsimmodelsim.ini -error 3473 -t 1fs test.arith_pg_tb
Reading C:/Mentor/QuestaSim64/10.4c/tcl/vsim/pref.tcl
# 10.4c
# ** Error: (vsim-7) Failed to open -modelsimini file "{D:gitPoCtempprecompiledvsimmodelsim.ini}" in read mode.
#
# Invalid argument. (ero = EINVAL)
# Error loading design
Error loading design
# Errors: 1, Waings: 0
The modelsim.ini files exists and has the following content:
[Library]
others = $MODEL_TECH/../modelsim.ini
(This file will contain more lines if vendor tools add their library mappings.)
