Dear
I need to "make a script (or batch file) for ISE tool" in order to "crate and map" user libraries".
My VHDL code looks like following :
-------------------------------------------------------------
-- vhdl for TOP module ..... LIBRARY submodulelib; USE submodulelib.submodule_cmp_pkg.ALL; .....
-------------------------------------------------------------
In ISE tool, I did MANUALLY in the GUI as following : Project -> Add Source -> VHDL source
Problem is that there are too many user libraries, so that these steps in GUI are too time-consuming. I want to use a script (in command-line) for "library creation and mapping".
Could anyone help me with "how to create library and map user libraries", without using GUI?
I am using Linux (also Windows) and ISE 8.2.
By the way, I did following for MODELSIM simulation and it worked :
--------------------------------------------------------------
-- script for MODELSIM
-------------------------------------------------------------- /* generating library */ vlib submodulelib /* library mapping */ vmap submodulelib /opt/data/design/sim/submodulelib /* source compile */ /* package */ vcom -work submodulelib /opt/data/design/src/submodule_cmp_pkg.p.vhdl /* entity */ vcom -work submodulelib /opt/data/design/src/submodule.e.vhdl /* architecture */ vcom -work submodulelib /opt/data/design/src/submodule_rtl.a.vhdl /* configuration */ vcom -work submodulelib /opt/data/design/src/submodule_cfg.c.vhdl