Altera_Forum
Honored Contributor
14 years agoModelsim Library Mapping - TCL
Right. I need help with this.
I have a group of libraries I need to map into modelsim. The guy that made most of the libraries uses HDL Designer and that automatically handles all the mapping, but for someone Like me who doesnt use HDL designer I need TCL scripts for it. We also have to assume Im downloading this stuff out of version control fresh and nothing is mapped (these libraries are available for anyone to check out and use in their designs). lets say I have the folloiwng directories, each one already has a work directory: lib1 lib2 lib3 Is there an easy way to map them all into modelsim? Ideally I want to put a tcl file in each library, but lib3 depends on lib2, so the only way I can think of doing that is changing directory in the TCL script, compiling lib2, then changing directory back to 3, vmapping to lib2 and then compiling lib3. Am I missing something easier?