Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

compress

compress( 
t_sourceFile 
t_destFile 
) 
=> t / error message

Description

Reduces the size of a SKILL file, which must be SKILL source code, and places the output into another file.

Compression renders the data less readable because indentation and comments are lost. The command sets the switch fullPrecision to t to retain floating point number precision while saving the file. It is not the same as encrypting the file because the representation of t_destFile is still in ASCII format. This process does not remove the source file.

Arguments

t_sourceFile

Name of the SKILL source file.

t_destFile

Name of the destination file.

Value Returned

t

Function executes successfully.

error message

Signals an error if problems are encountered compressing the file.

Examples

compress( "triad.il" "triad_cmp.il") 
=> t

Related Topics

encrypt


Return to top
 ⠀
X