Forum Discussion
Altera_Forum
Honored Contributor
10 years agoIt certainly sounds like you're on the right lines. I can't explain why it's failing based on what you've written.
I've attached a (zipped) tcl file. This is the framework for a lot of my simulation work with Modelsim. Modify line 3 to point at a directory in which all the simulation files will go. Modify line 14 to point at your Quartus installation. Change lines 17 & 18 to point at your rtl. In ModelSim goto 'Tools' -> 'Tcl' -> 'Execute Macro' and point it at your tcl file. Having run it once the libraries will be compiled. So, you can comment out (start the line with a '#') lines 9, 10, 11, 13 & 14 to speed things up on subsequent runs. Cheers, Alex