Run Makefile in Modelsim
Hello there,
I am currently trying to get Modelsim to automatically launch the Makefile.vsim that is generated by Sigasi.
But how do I setup the settings in the external tool configurator to run this correctly?
A small tutorial might be useful, cause I have called Modelsim always from ISE and so I do not know that much about the makefiles.
Cheers Philipp
- Forums:
Modelsim tcl script?
Hi Philipp,
You need to have make installed, which is the case on any Unix system and also on Windows if you have Cygwin. You can start the Makefile from the command line:
make -f Makefile.vsim. Alternatively, you can add an external builder for starting your build.http://www.sigasi.com/forum/feature-request-error-parser-external-tools#...
If you do not have make installed on your Windows computer, it is probably easier to work with a tcl script, which can be directly interpreted by modelsim. We have no generator for Modelsim tcl scripts at this time, but we could one. Instead of an building a script that we think looks great, we'd rather hear your input on what you want in a build script.
So If you would like a Modelsim tcl script generator in an upcoming release, please give us some input.
kind regards
happy holidays
Philippe
Hello Philipp, for the TCL I
Hello Philipp,
for the TCL I files, I would like to have that all files and libraries used in the currently marked file (in the outline) are compiled, the simulation is started and the waveform screen with all entity signals is loaded.
So that I have again the same workflow as I do have in ISE.
Yours sincerely
Philipp Nörtersheuser
Modelsim TCL script: Yes!
I'd definitely like to see TCL build file generation output added. I'm running Sigasi on a Mac, and ModelSim in a Parallels VM. I'd love to be able to generate a TCL file for the project, and build/sim in ModelSim. I don't have make installed on the Windows side as I don't need it for anything else, so TCL is best.
As to the structure of the file, I think what you have for the makefile output translated into TCl would be fine. You just have to make sure that you observer the build order and libraries. Adding check-boxes in a build preferences dialog for the ModelSim compile switches (VHDL-93, explicit, etc) would be good. A judicious copying of the dialog ModelSim uses would be fine.
Tutorial online
I have posted a tutorial on how to automatically run the Makefile when files change.
Post new comment