TGEN Command

Creates the tester interface file for test program generation.

Command TGEN
Abbreviation TG
Category Output & Monitoring

Function

The TGEN command causes the tester interface file to be created.

Usage

The TGEN command is described in the Section Test Program Output in Tester Emulation.

By default, the tester interface file is not created. The FILE keyword option specifies a name for this file, thereby causing it to be generated during simulation. The command form:

TGEN FILE:

specifies that the file's name be the default file name and the file's extension be the default extension tgn. The command form:

TGEN FILE=<file name>

explicitly specifies the file's name.

Bidirectional Bus Control

The DISCONNECT keyword option controls the signal values written to the tester interface file for bidirectional primary busses. By default, SIMIC writes either (a) the value that the bus would have if the primary drive were disconnected, when there is no wire-tie conflict, or (b) the actual value of the bus when there is a conflict. The command:

NO TGEN DISCONNECT:

causes the actual value of the primary bus to be written (always including the effect of the primary drive), while the command:

TGEN DISCONNECT=ALL

causes the written value to always be the bus value that would result if the primary drive were disconnected. If the default is overridden, it can be subsequently restored with the command:

TGEN DISCONNECT:

Target Tester Specification

The TARGET keyword option specifies the target tester, which is written to the tester interface file. The command form is:

TGEN TARGET=<name>

where <name> is the tester's name. If unspecified, then the name defaults to "???".

High-Impedance Threshold

The HIZ keyword option defines a threshold depth such that any value at this depth, or at a weaker depth, be reported as "Z" in the tester interface file. The command form is:

TGEN HIZ=<integer>

where the integer value is less than 32,768. For example:

TGEN HIZ=20000

causes any value whose depth is 20,000 or higher to be written as "Z".