Scan Opcode
- Updated2026-01-30
- 1 minute(s) read
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
| 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
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;
};
}