Navigate: tdx_step scanmaker Mapfile

Command File Syntax

A command file generated by tdx_step may contain incompatible repair directives and its scan chain definitions may run afoul of some scanmaker rules. Scanmaker will flag these problems but you are advised to inspect the command file manually after running tdx_step. The scanmaker GUI control panel includes a button to allow inspection and editing of the command file (the pen icon to the right of the filename).

These directives are acceptable in the command file:

SCN_CHAIN

This command defines the existance of, and control signals for, a scan chain.

The following example defines two scan chains chain0 and chain1. Their control signals are defined to "ScanMode", "ScanIn0", "ScanOut0", "ScanIn1", "ScanOut1", "clk" (low-active) and "TestEnable".

SCN_CHAIN chain0 MD 1 ScanMode \
            DATA_IN 1 ScanIn0   DATA_OUT 1 ScanOut0 \
            CLOCK   0 clk       CONTROL  1 TestEnable
 
SCN_CHAIN chain1 MD 1 ScanMode \
            DATA_IN 1 ScanIn1   DATA_OUT 1 ScanOut1 \
            CLOCK   0 clk       CONTROL  1 TestEnable
The backslashes ('\') are used to continue a command over multiple lines.

Negative polarity is not supported for DATA_IN and DATA_OUT. The signal names and polarities of the scan mode, CLOCK and CONTROL must be the same in all chains. Only one CLOCK can be defined. The top-module ports for scan mode, CLOCK and CONTROL are used if they already exist (defined in the verilog file). If not and if those signals are really required, additional ports are created.

SCN_CHAIN_EL

This directive indicates that a cell is part of a particular scan chain. The instance it specifies must be a silicon-level cell rather than a simulator primitive. The following example defines two scan chain elements for chain0.
SCN_CHAIN_EL chain0 1 clt.rx.c1
SCN_CHAIN_EL chain0 1 clt.rx.c6
Please note, that tdx_step issues scan element names down to the simulator primitives that are most probably not identical to the silicon-level cells, for example, tdx_step may issue clt.rx.c1.tdxi_df and clt.rx.c6.tdxi_df for the chain above.

REPAIR

This line advices tdx_scanmaker to add repair logic. The syntax is:
REPAIR <type> <instance_path>
where <type> can be one of: ECKTGT, ESETTGT, ECLRTGT, ELATCHSTATE, ESRCCK, ESRCSET, ESRCCLR, WSRCTSE, EL (see scanruleviolation for an explanation of these names) The <instance_path> must define a silicon-level cell, (a flipflop, latch or a tri-state buffer).

Multiple REPAIR lines for the same cell may occur, but some repair types are mutually exclusive and can therefore not be applied to the same cell:

The example below advices tdx_scanmaker to repair CLK and SET at cell clt.rx.c1, and CLR at cell clt.r4.d8
REPAIR ECKTGT  clt.rx.c1
REPAIR ESETTGT clt.rx.c1
REPAIR ESRCCLR clt.r4.d8

Last modified: Fri Nov 21 18:44:34 PST 1997
Copyright (c) Vervent Technologies Inc, 2007