techOpenTechFile
techOpenTechFile(t_libNamet_binaryName[t_mode] ) =>d_techID/ nil
Description
Loads a binary technology database in virtual memory with the specified mode (r, w, and a) and returns the database identifier of that database.
-
If you specify
rmode, the file can only be read. -
If you specify
wmode, the contents of the database are deleted or truncated, and an empty technology database is loaded into virtual memory. -
If you specify
amode, the technology database is loaded in append mode, which means that you can edit the contents of the database.
The libName argument specifies the library that the technology database will be loaded from. If the specified library contains the technology database, that database will be opened using the requested mode. If the library is a design library that is attached to another library for technology data, the technology database from the attached technology library will be opened. If the library is a design library that is attached to the default Cadence technology database, then if the mode requested is ‘r’, the default Cadence technology database will be opened. If the library is a design library that is attached to the default Cadence technology database, if the mode is ‘a’ or ‘w’, an empty technology database will be created in the library.
The libName of the dbId for the technology database can be queried after the function is complete to determine if the technology database loaded is defined in the requested library or is from an attached technology library.
Arguments
Value Returned
|
Database identifier of the technology database loaded into virtual memory. |
|
Example
techID = techOpenTechFile("cellTechLib" "tech" "a")
=> db:25675212
Opens the technology database from the library named “cellTechLib”, and loads it into virtual memory in append mode. Sets the variable techID to that database.
Return to top