| name | gf-pinmap | ||||||
|---|---|---|---|---|---|---|---|
| description | Generate pin constraint file for target board | ||||||
| argument-hint | <board> [peripheral] [connector] | ||||||
| allowed-tools |
|
Generate FPGA constraint files with correct pin assignments.
/gf-pinmap arty-a7-35t # Full constraints for board
/gf-pinmap arty-a7-35t spi pmod-ja # Map SPI to PMOD JA
/gf-pinmap icebreaker uart # Map UART on iCEBreaker
Generates constraint file in correct format:
- Xilinx:
.xdcwith PACKAGE_PIN + IOSTANDARD - Lattice iCE40:
.pcfwith set_io - Gowin:
.cstwith IO_LOC - Lattice ECP5:
.lpfwith LOCATE + IOBUF
Safety: curated database first, web search requires user confirmation.