top-icebreaker-double.pcf 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # RGB panel dual pmod
  2. # Data for panels with Red on pin 1/5 and Blue on pin 3/7
  3. set_io -nowarn hub75_data[5] 3 # A7 - Red 1
  4. set_io -nowarn hub75_data[4] 48 # A8 - Green 1
  5. set_io -nowarn hub75_data[3] 46 # A9 - Blue 1
  6. set_io -nowarn hub75_data[2] 4 # A1 - Red 0
  7. set_io -nowarn hub75_data[1] 2 # A2 - Green 0
  8. set_io -nowarn hub75_data[0] 47 # A3 - Blue 0
  9. # Data for panels with Red on pin 3/7 and Blue on pin 1/5
  10. #set_io -nowarn hub75_data[5] 46 # A9 - Red 1
  11. #set_io -nowarn hub75_data[4] 48 # A8 - Green 1
  12. #set_io -nowarn hub75_data[3] 3 # A7 - Blue 1
  13. #set_io -nowarn hub75_data[2] 47 # A3 - Red 0
  14. #set_io -nowarn hub75_data[1] 2 # A2 - Green 0
  15. #set_io -nowarn hub75_data[0] 4 # A1 - Blue 0
  16. # Row address
  17. set_io -nowarn hub75_addr[4] 28 # B10
  18. set_io -nowarn hub75_addr[3] 31 # B4
  19. set_io -nowarn hub75_addr[2] 34 # B3
  20. set_io -nowarn hub75_addr[1] 38 # B2
  21. set_io -nowarn hub75_addr[0] 43 # B1
  22. # Control
  23. set_io -nowarn hub75_clk 32 # B9
  24. set_io -nowarn hub75_le 36 # B8
  25. set_io -nowarn hub75_blank 42 # B7
  26. # SPI Flash
  27. set_io -nowarn flash_mosi 14
  28. set_io -nowarn flash_miso 17
  29. set_io -nowarn flash_cs_n 16
  30. set_io -nowarn flash_clk 15
  31. # SPI Slave
  32. set_io -nowarn slave_mosi 14
  33. set_io -nowarn slave_miso 17
  34. set_io -nowarn slave_cs_n 11
  35. set_io -nowarn slave_clk 15
  36. # PMOD2 buttons
  37. set_io -nowarn pmod_btn[0] 20
  38. set_io -nowarn pmod_btn[1] 19
  39. set_io -nowarn pmod_btn[2] 18
  40. # Clock
  41. set_io -nowarn clk_12m 35