The scan opcode identifies a vector as a scan vector. The opcode also defines the number of scan-cycle subrows the vector includes for shifting data across one or more channels.

Syntax Reference

Table 4. Syntax Description for the Scan Opcode
Syntax Description
scan(cycle_count) Designates a vector as a scan vector and declares the number of scan cycle subrows each scan vector has.

Parameter Definitions

  • cycle_count—The number of scan cycles in this scan vector. The value of this parameter must be a positive integer.
  • Scanning 6 Bits with scan(6) on Multiple Channels

    pattern NewScanPattern (CLK, ScanIn0, ScanIn1, ScanOut0, ScanOut1)
    {
        scan(6)                          TSetScan 0 _ _ _ _;
        {
            ScanIn0   010101;
            ScanIn1   101010;
            ScanOut0  LHLHLH;
            ScanOut1  HLHLHL;
        };
    }