FPGAwars / apio

:seedling: Open source ecosystem for open FPGA boards
https://github.com/FPGAwars/apio/wiki
GNU General Public License v2.0
773 stars 131 forks source link

leds.pcf file maps LEDs to nonexistent pins on Upduino3 #297

Open jlittle22 opened 2 years ago

jlittle22 commented 2 years ago

Current leds.pcf:

set_io LED4 99
set_io LED3 98
set_io LED2 97
set_io LED1 96
set_io LED0 95
[Sun Jul  3 11:35:12 2022] Processing upduino3
--------------------------------------------------------------------------------
nextpnr-ice40 --up5k --package sg48 --json hardware.json --asc hardware.asc --pcf leds.pcf -q
ERROR: package does not have a pin named '99' (on line 1)
ERROR: Loading PCF failed.
0 warnings, 2 errors
scons: *** [hardware.asc] Error 255

Replacing the leds.pcf file with:

set_io LED4 28
set_io LED3 38
set_io LED2 42
set_io LED1 36
set_io LED0 43

... allows it to build successfully.