These directives are acceptable in the command file:
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 chain0 1 clt.rx.c1 SCN_CHAIN_EL chain0 1 clt.rx.c6Please 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 <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:
REPAIR ECKTGT clt.rx.c1 REPAIR ESETTGT clt.rx.c1 REPAIR ESRCCLR clt.r4.d8