How to convert a CDB library to an OA library
From EDA Wiki
Jump to navigationJump to search- CDB
- Cadence Data Base format
- OA
- Open Access format (now used in IC 6.1 and later)
To convert a CDB library to an OA library:
- First make sure that the DFII library is referenced in a cdb.lib file.
- Make a new directory for OA and cd to it.
Next convert the technology library:
cdb2oa -lib <techlib> -cdslibpath <path>
Then convert the library of interest:
cdb2oa -lib <library> -cdslibpath <path>
For example, to convert the NCSU_TechLib_ami06 tech library from IC 5 to IC 6.1 do the following:
Create a temporary directory to work in and change to that directory.
mkdir $HOME/tmp cd $HOME/tmp
Create directories cdb and oa directories and change directory to the cdb directory.
mkdir cdb mkdir oa cd cdb
Create a cds.lib file for the old NCSU_TechLib_ami06 tech library.
vi cds.lib
Enter the following:
DEFINE NCSU_TechLib_ami06 $CDS_SITE_CONFIG/CDK/ncsu-cdk-1.5.1/lib/NCSU_TechLib_ami06
Change directory to the oa directory. This can be done using a relative path.
cd ../oa
Execute cdb2oa to convert the tech library to the Open Access database format.
cdb2oa -lib NCSU_TechLib_ami06 -cdslibpath ../cdb
You should have a message that looks like this.
<--cut--> ******************************************************************************** Finished at: Dec 13 19:45:39 2010 80 cells and 80 cellviews were translated from library 'NCSU_TechLib_ami06' in 114.1s. ********************************************************************************