grahamedgecombe / icicle

32-bit RISC-V system on chip for iCE40 FPGAs
ISC License
301 stars 52 forks source link

What would one need to do to get this running on BlackIce II board? #2

Closed philtomson closed 6 years ago

philtomson commented 6 years ago

What would one need to do to get this running on BlackIce II board?

grahamedgecombe commented 6 years ago

Hi,

You'll need to create a new .mk and .pcf file in the boards directory - it's probably easiest to base these on the existing files.

Based on the information available at https://www.tindie.com/products/Folknology/blackice-ii/, the variables in the .mk file should be set to:

Based on the schematics and https://github.com/mystorm-org/BlackIce-II/blob/master/examples/common/blackice-ii.pcf, the pin mappings in the .pcf file should be set as follows:

Then follow the instructions in the README, setting BOARD to the name you chose (e.g. BOARD=xyz will use boards/xyz.mk and boards/xyz.pcf).

I don't have a BlackIce II board, so all of the above is completely untested - so please check carefully before trying it in case I've made a mistake that will damage your board!

If you get it working I'd be happy to accept a PR :)

grahamedgecombe commented 6 years ago

Closing as PR #3 has been merged, thanks :)