program-xc6s¶
CLI reference¶
glasgow run program-xc6s¶
Program Xilinx Spartan-6 FPGAs via the JTAG interface.
usage: glasgow run program-xc6s [-h] [-V VOLTS] [--tck PIN] [--tms PIN]
[--tdi PIN] [--tdo PIN] [--trst PIN] [-f FREQ]
[--scan-ir-max-length LENGTH]
[--scan-dr-max-length LENGTH]
[--ir-lengths IR-LENGTH,...]
[--tap-index INDEX]
[BIT-FILE]
- bit-file¶
load bitstream from .bin file BIT-FILE
- -h, --help¶
show this help message and exit
- -V <volts>, --voltage <volts>¶
target power (voltage reference of the interface) (range: 1.8..5 V, or ‘S<port>’ to follow the voltage sensed on a port; default: unchanged)
- --tck <pin>¶
bind test clock to PIN (default: ‘A0’, required)
- --tms <pin>¶
bind test mode select to PIN (default: ‘A1’, required)
- --tdi <pin>¶
bind test data in to PIN (default: ‘A2’, required)
- --tdo <pin>¶
bind test data out to PIN (default: ‘A3’, required)
- --trst <pin>¶
bind test reset (active low) to PIN (optional)
- -f <freq>, --frequency <freq>¶
set TCK frequency to FREQ kHz (default: 100)
- --scan-ir-max-length <length>¶
give up scanning IRs longer than LENGTH bits (default: 128)
- --scan-dr-max-length <length>¶
give up scanning DRs longer than LENGTH bits (default: 1024)
- --ir-lengths <ir-length,...>¶
set IR lengths of each TAP to corresponding IR-LENGTH (default: autodetect)
- --tap-index <index>¶
select TAP #INDEX for communication (default: select only TAP)