A
Allan Herriman
Guest
On Thu, 21 Apr 2016 17:13:03 +0100, HT-Lab wrote:
How do you switch back to the old library format? I stopped using
makefiles with Modelsim once they put the entire library in a single
file. Version 10.1something I think it was.
Thanks,
Allan
On 21/04/2016 11:52, Martin Thompson wrote:
KJ <kkjennings@sbcglobal.net> writes:
I'm guessing that file is setup with dependency rules that if file X
changes then you must also compile the parents/grandparents/etc of
file X.
Agreed. Make has no concept of design units within files or the
ability to only compile parts of the file. Make is not ideally suited
to VHDL work
The GUI is simply compiling the file(s) that have changed since the
last compile, there is no notion of dependencies for this operation.
I'd go further - I think the GUI is only compiling *parts* of the file
(like I do from the command-line) as if it compiled the whole file, it
would recompile the entity which would then trigger an "upward flow" of
recompiles (which you are not observing).
Does the GUI compile show what commands it is executing anywhere?
Transcript window?
Seriously, I assume you are using Modelsim project files? If so then I
would strongly recommend you switch to .do/.tcl files as it will make
your life a lot easier. If compilation takes a long time then you can
use vmake although I believe you need to switch back to the old library
format to use them (I might be wrong). Just add the win32pe directory to
your search path and you can use simple batch/bash/.. scripts to compile
and run your code. If you want to use some Tcl in your script then you
can use vsim -c -do "-do mycompile.tcl;quit -f" type of commands.
How do you switch back to the old library format? I stopped using
makefiles with Modelsim once they put the entire library in a single
file. Version 10.1something I think it was.
Thanks,
Allan