Product Documentation
Mixed Signal (MS) Interoperability Guide
Product Version 22.13, Last Updated in July 2023

21

oaZip Utility

21.1 The oazip Utility to Compress/Decompress Databases

OpenAccess 22.42 and later releases support the ability to save the design databases in a library in a compressed form. Tools based on OpenAccess 22.41 or earlier releases (such as IC6.1.5), may need to have the designs in the library decompressed with the oazip utility before the designs can be accessed.

This utility provides the following functionality:

  • It processes the OpenAccess databases in a library and compresses them. The compression control value of the library is updated.
  • It processes the OpenAccess databases in a library and decompresses the ones that are in compressed form. The compression control value of the library is reset or updated.
  • It provides the value of the compression control attribute of a library.
  • It scans the OpenAccess databases in a library and reports the databases that do not match the compression control attribute of the library.
  • It scans the OpenAccess databases in a library and updates any databases that did not match the compression control attribute of the library.

21.1.1 Command Syntax

To run oazip, enter the following:

oazip -lib library {-compress|-decompress|-check|-query|-update} [Optional Arguments]

21.1.2 Arguments

You can use the -help or -h argument to display command line help. The command line arguments are described in the table below.

Required Argument

-lib <name>

This required argument specifies the name of the library to process. If this argument is not specified, an error message will be displayed.

One of the Following Arguments is Required

-compress

If this option is specified, the utility will process the OpenAccess databases in a library, compress the ones in uncompressed form, and reset the compression control value of the library.

-decompress

If this option is specified, the utility will process the OpenAccess databases in a library, uncompress the ones in compressed form, and reset the compression control value of the library.

-query

If this option is specified, the utility will report whether the compression control is specified for the library and what level it is set to.

-check

If this option is specified, the utility will report the OpenAccess databases in the library that are inconsistent with the compression control setting of the library. If there is no compression control specified, the utility will list the databases that are in compressed form. If the compression control is specified, the utility will list those databases that are either in uncompressed form or were written using a compression level different than what the compression control is set to.

-update

If this option is specified, the utility will process the OpenAccess databases in a library and update the ones that are inconsistent with the compression control value of the library.

Optional Arguments

-h or -help

Display usage information.

-compressLevel <level>

This option specifies the compression level to use for the library. Compression levels refer to the amount of effort the compression algorithm will use to when compressing data. Higher values do not necessarily correspond to better compression efficiency. Compression levels are specified by an integer value between 1 and 9, inclusive. The default value of 1 is suitable for most applications.

-logFile <file>

Specifies the log filename. If this option is omitted, the log filename defaults to oazip.log.

-noInfo <msgIds>

Suppresses the specified INFO messages. msgIds is a quoted, space separated list of numbers. Each number in the list represents the numerical portion of the ID for the message you want to suppress. None of the numbers in the list may be zero. Suppressed messages do not appear on the terminal or in the log file.

-noWarning <msgIds>

Suppresses the specified WARNING messages. msgIds is a quoted, space separated list of numbers. Each number in the list represents the numerical portion of the ID for the message you want to suppress. None of the numbers in the list may be zero. Suppressed messages do not appear on the terminal or in the log file and are not included in the total of WARNING messages displayed in the summary.

-templateFile<file>

Specifies a file containing arguments to oazip. You can specify a template file instead of entering a string of arguments on the command line.

If you specify a template file, arguments on the command line have precedence over arguments specified in the file. So, if the same argument exists in the template file and in the command line, the translator uses the argument on the command line.

Specify arguments in a template file as follows:

  • Enter arguments in the template file without a dash (-) before the argument.
  • Enter each argument and value pair on a single line.
  • Separate the argument from its value using a space or a tab.
  • Designate comment lines with a # sign as the first character in the line.

Sample Template File

# oazip command line arguments:

lib libName

logFile myoazip.log

compress

-v

Prints tool, format, and library version information.

-version

Prints tool and format version information.




 ⠀
X