PCF for Cu V2 with IO V2

Hi, I’m new to FPGAs and Alchitry. I’m trying to learn from “Getting Started with FPGAs” by Russell Merrick. I have chosen the Cu V2 and the IO V2. I am using iCEcube2 with the Alchitry Loader. What I need, and cannot find, is the pin constraint file for the hardware that I have. I did manage to find one online, but it does not seem to work. I suspect it is not V2. I tried guessing pin assignments and got lucky, because I can now turn on a few of the LEDs on the IO board. I really don’t want to keep guessing to figure out all of the pins.

Can anyone point me to a PCF file for this combination? It must already exist somewhere.

Thanks, David

Hello,
There is no fully IceCube-ready PCF file because Labs generate it for you automatically by mapping the pin name on board to the FPGA’s pin names.

You can have Labs generate a PCF by creating an empty project using the Io and building it and then take the generated PCF from the build directory,
or you can make one by hand be using the ACF file here and replace the board pin names with the FPGA pin names using this map here.

Thanks. The two files that you provided were exactly what I needed. Quite easy to create my PCF from that.