when I compile design files with ip , what files should I compile?
- 4 years ago
Hi,
When you generate IP and/or Qsys files, you have the option to generate simlulation files. Once done, in your IP or Qsys subdirectory, you should have a sim(ulation)/mentor/msim_setup.tcl file.
At the top of this file is described the process on how to use it.
Basically, it defines some variables for parameters and procedures to compile and run modelsim. What I do is write a script that:
1) runs this msim_setup.tcl (makes the calling script aware of definitions and procedures)
2) compiles my user files
3) runs the procedures from the script to compile Intel's stuff
4) Changes some variable definitions to link my libraries (the -L switch)
5) run the final Intel procedure to launch modelsim
To put it in a nutshell, follow instructions in sim(ulation)/mentor/msim_setup.tcl