Anyone know how to define library in cds.lib?
Thanks and regards,
This is documented in great detail under https://support.cadence.com/apex/techpubDocViewerPage?xmlName=settingup.xml&title=Setting%20Up%20Your%20Environment%20--%20Setting%20Up%20Your%20Environment%20-%201.2%C2%A0The%20cds.lib%20File&hash=SettingUpYourEnvironment-1.2cdslibThecds.libFile&c_version=18.09&path=SettingUp/SettingUp18.09/Setting_Up_Your_Environment.html#SettingUpYourEnvironment-1.2cdslibThecds.libFile please do take a look at that.
Note that if you are using irun or xrun as your compiler front-end, you can actually avoid cds.lib and hdl.var files completely, these commands take a switch "-makelib" which allows you to define a library and send files to that library. For example:
xrun -makelib rtllib src/rtl/*.vhd -endlib tb.sv
The above command would compile all the files from the src/rtl directory into a library called rtllib.
problem solved. Thanks for your support Stephen.