Product Documentation
Virtuoso Technology Data SKILL Reference
Product Version IC23.1, June 2023

tcLoadTechFile

tcLoadTechFile(
d_techID 
t_sourceFile
[ t_mode [ l_sections ] ]
)
=> t / nil

Description

Compiles the ASCII source file, opens the technology database in a (append) mode, and updates it with the compiled data. The default action is to merge the newly compiled data with the technology database already loaded into virtual memory. If you set t_mode to w, the system deletes the data in virtual memory and loads the newly compiled data. If you specify the sections to compile, this function compiles only the specified sections and preserves the data in the other sections.

If you opened the technology database in read mode, this function upgrades the mode to append or write. If you opened the technology database in append or write mode and then ran tcLoadTechFile with the default merge action, this function merges the newly compiled data with the data, if any, currently in virtual memory.

Arguments

d_techID

Database identifier of the technology database.

t_sourceFile

Name of the ASCII technology file you want to compile and load.

Valid value: Any string

t_mode

Indicates whether you want to replace the existing technology data in virtual memory with the newly compiled data.
Valid Values: w replaces the data, a merges the data with the data that exists in virtual memory

Default: a

l_sections

List of sections to compile.

Valid values: ‘controls, ‘layerDefinitions, ‘layerRules, ‘constraintGroups, ‘siteDefs, ‘viaDefs, ‘viaSpecs, ‘devices, ‘leRules

Value Returned

t

The ASCII source file compiled successfully.

nil

The technology database does not exist or the source file does not exist, does not compile, or does not merge with the existing technology database properly. Error messages may be displayed listing syntax problems in the source file.

Example

tcLoadTechFile(techGetTechFile( techID ) "my_source")

Compiles the my_source ASCII file. Merges the technology data into the virtual memory used by the technology database for the database identified by techID.


Return to top
 ⠀
X