vcom in modelsim

  • Thread starter Frank van Eijkelenburg
  • Start date
F

Frank van Eijkelenburg

Guest
Hi,

is it possible to compile only the files that needs to be compiled. I have a
script which compiles a set of vhdl files, but if I do a change in the last
vhdl file in the list, only this file needs to be recompiled. Is there an
option for vcom that gives this desired behaviour?

TIA,
Frank
 
Frank van Eijkelenburg wrote:

Is
there an option for vcom that gives this desired behaviour?
Emacs vhdl-mode commands vhdl-generate-make-file and vhdl-make
will do the job. Or the modelsim program vmake along with
the OS program make will do what you want.

-- Mike Treseler
 
Frank van Eijkelenburg wrote:
Hi,

is it possible to compile only the files that needs to be compiled. I have a
script which compiles a set of vhdl files, but if I do a change in the last
vhdl file in the list, only this file needs to be recompiled. Is there an
option for vcom that gives this desired behaviour?
Try Googling for "modelsim vmake". vmake is a Modelsim command that
generates a makefile. Haven't used it myself, but I know such feature
exists.

See for example http://www.tkt.cs.tut.fi/software/modeltech/tutorial/

HTH
--
JS
 
John Smith wrote:

Try Googling for "modelsim vmake". vmake is a Modelsim command that
generates a makefile. Haven't used it myself, but I know such feature
exists.
That's true.

1) remove your old library

2) compile sources with your script (compile not simulate)

3) vmake > Makefile ( ===> create a Makefile from Library)

4) every new compilation can be started with "make" (only changed files
will be compiled)


BR, Chris
 

Welcome to EDABoard.com

Sponsor

Back
Top