FastScan and FlexTest Reference Manual, V8.6_4
4-26
FlexTest Test Pattern File Format Test Pattern File Formats
SETUP =
DECLARE INPUT BUS “ibus” = “/IA”, “/IB”, “/E”, “/IOA”,
“/IOB”;
DECLARE OUTPUT BUS “obus_1” = “/IOA”, “IOB”;
END;
CYCLE_TEST =
CYCLE = 0;
FORCE “ibus” “100ZZ” 0;
MEASURE “obus_1” “ZZ” 1;
CYCLE = 1;
FORCE “ibus” “001ZZ” 0;
MEASURE “obus_1” “00” 1;
CYCLE = 2;
FORCE “ibus” “111ZZ” 0;
MEASURE “obus_1” “11” 1;
END;
To use style 1a, the user needs to know if the control line is a 1, then the data will
be the output value. To use style 1b, the user need to know if the control line is 0,
then the data will be the output value. Let’s assume it is style 1a.
To create the control section, all the primary inputs and primary outputs, as well
as the inout pins with its control pin, should be listed:
PI IA
PI IB
PI E
IO_C1 G1
IO_DA IOA G1
IO_DA IOB G1
G1 is the control name given to IO_C1. Since the enable line of the tri-states are
connected together, IOA and IOB share the same control name. To create the data
section, each line will correspond to one test cycle. Thus, we get the following:
1000ZZ
001100
111111
When IO_C1 is 1, then IOA and IOB will be the output values. Conversely, when
IO_C1 is 0, then IOA and IOB will be the input values.