Forum Discussion
Altera_Forum
Honored Contributor
11 years agoDave: I'm attempting to use the Quote feature...
--- Quote Start --- in that if you have a bunch of common code, and multiple projects that use it, you don't want to have to rebuild the common code for each testbench. --- Quote End --- Yes, that's it exactly. --- Quote Start --- The modelsim.ini file stores the library mappings. A read-only copy of that file lives in the modelsim installation. When you type a vmap command, Modelsim tries to write to modelsim.ini, and if it cannot, it copies the file and creates a local copy, and then edits that. --- Quote End --- Yes, I've now seen this happen. --- Quote Start --- If you build all your Modelsim simulations in one area, then that automatic action may be ok for you. --- Quote End --- Not experienced enough yet to know. :-) --- Quote Start --- ... If you think you want to go this route, ask, and I'll see if I can hack together a really basic set of setup scripts. ... Unless Tricky points out that there is an easier way :) --- Quote End --- Thank you for the generous offer - please hold on that. I've actually been able to create a library (and have it appear in ModelSim - yeah!). It isn't - yet - exactly where or what I want, but using the steps that you and Tricky supplied I'm making some progress and getting into the zen of the tools. And, as an experienced C++ developer, having picked up a couple of books on TCL, and noting the commands that ModelSim executed and make available in its command window, I think that I'll be able to work something out. I won't hesitate to ask, though, if something remains opaque. Thanks!