Could someone please let me know the RTL complier command to define a new VHDL library? And where should the new library packages be placed? Should the be placed in the same run directory or can we include the path in the compile script?
VHDL libraries do not have to be in same directory as scripts. HDL in general relies on attribute hdl_search_path when an absolute path is not provided . read_hdl -library switch which can be used to specify what library a given set of VHDL files should go to.
One more question, do we need to explicitly define a new library (say newLib), or just the command "read_hdl -vhdl -library newLib" is sufficient to define the new library?
I could not find any command for this in the RC user manual.