lattice_ecp3.cfg 592 B

12345678910111213141516171819202122
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. if { [info exists CHIPNAME] } {
  3. set _CHIPNAME $_CHIPNAME
  4. } else {
  5. set _CHIPNAME ecp3
  6. }
  7. # Lattice ECP3 family
  8. # TAP IDs are extracted from BSDL files found on this page:
  9. # https://www.latticesemi.com/Products/FPGAandCPLD/LatticeECP3
  10. #
  11. # LFE3_17: 0x01010043
  12. # LFE3_35: 0x01012043
  13. # LFE3_95: 0x01014043 and LFE3_70
  14. # LFE3_150: 0x01015043
  15. jtag newtap $_CHIPNAME tap -irlen 8 \
  16. -expected-id 0x01010043 -expected-id 0x01012043 \
  17. -expected-id 0x01014043 -expected-id 0x01015043
  18. pld create $_CHIPNAME.pld lattice -chain-position $_CHIPNAME.tap