Forum Discussion
Generate Simulation Setup Script Fails
- 3 months ago
Ok, got it to work. Added C:\altera_pro\26.1\qsys\bin to the path, opened a Windows command prompt, cd to the project directory, then ran the ip-setup-simulation.exe command with the same parameters when run by the GUI and it works (I still have to click yes on the User Account Control dialog). I don't know why it stopped working with the GUI Tools>Generate Simulation Setup Script for IP... command, but this is the workaround I used.
[Update] The ultimate fix was to change the Quartus shortcut to run as admin. That way, when the tools>generate simulation setup command is run, it is also elevated to admin and can run. Not sure why that command alone started requiring elevated privileges to run.
I was trying to run ip-setup-simulation.exe from a Windows command prompt because it would not run from the GUI. It was failing because, for some reason, it started requiring elevated privileges to run. But turns out if I change the Quartus shortcut to run as admin, the Tools>Generate simulation setup command works. But adding qsys/bin to the path does allow the command to be run from a batch file (without typing the full path). I have no idea what changed to require the elevated privilege for that command. The other commands in the qsys/bin don't require that. Hope that that helps.