Model Sim "Invalid time string specified" Error
I am trying to run a simulation on the modelsim INTEL FPGA STARTER EDITION 10.5b.
For the past few months it was running fine but recently I have not been able to run any testbench on model sim. Every time I try to run a test bench I get the "Invalid time string specified" error.
I don't know if it is related but this issue started after I tried using github as a version control to transfer files between devices.
This issue likely does not have to do with the actual code within the files, testbench, or .do files that run the testbench, because on my latop the simulation works perfectly fine. However I have attached the related files just in case.
I have tried uninstalling Quartus and Modelsim and reinstalling but that did not work. I tried removing the path variables and uninstalling quartus and modelsim then restarting and reinstalling and that did not work.
In other threads on related issues I have tried deleting the modelsim.ini config file found in C:\intelFPGA_lite\17.0\modelsim_ase but that caused more issues.
One user said that starting the simulation through the model sim GUI and doing Simulation -> Start Simulation -> *change resolution to something other than default, fixed the issue but it does not work for me.
If it matters, I usually simulate a testbench by entering the command "do runlab.do" into model sim. I have attached that file as well.
Has anyone solved this issue recently? Or is there a way to completely reset all quartus and model sim related settings and variables to default?
I found another post from a third party that they have similar issue and resolved it by deleting the register key.
Could you try their method and see if it helps.
***Please make a backup by Export to .reg file, before deleting. As making incorrect changes to the Registry may cause issues to Windows and may cause programs crashing or no longer start***
This is their solution. (not tested and might be risky)
Press "Windows+R" to open the run window, enter 'regedit', find the path HKEY_CURRENT_USERS\Software\ModelTechnology Incorpporated\Modelsim, and delete all the folders.
I suspect something is wrong with your machine, do you see the same issue using a difference machine/PC?
At the same time, try below troubleshooting steps:
- If you are running antivirus software, try to temporarily disable the antivirus software during the Questa software download and installation process.
-Install the software with Administrator privileges.
- Try to download and auto install using the new Quartus installer.
- Check your OS history update, e.g. to check if the issue happen after some specific Window update.
Regards,
Richard Tan