You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
883 B

  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. if { [info exists CHIPNAME] } {
  3. set _CHIPNAME $_CHIPNAME
  4. } else {
  5. set _CHIPNAME ecp5
  6. }
  7. # Lattice ECP5 family
  8. # TAP IDs are extracted from BSDL files found on this page:
  9. # https://www.latticesemi.com/Products/FPGAandCPLD/ECP5
  10. #
  11. # 0x01111043 - LAE5UM_25F/LFE5UM_25F
  12. # 0x01112043 - LAE5UM_45F/LFE5UM_45F
  13. # 0x01113043 - LAE5UM_85F/LFE5UM_85
  14. # 0x21111043 - LFE5U_12F
  15. # 0x41111043 - LFE5U_25F
  16. # 0x41112043 - LFE5U_45F
  17. # 0x41113043 - LFE5U_85F
  18. # 0x81111043 - LFE5UM5G-25
  19. # 0x81112043 - LFE5UM5G-45
  20. # 0x81113043 - LFE5UM5G-85
  21. jtag newtap $_CHIPNAME tap -irlen 8 -irmask 0x83 -ircapture 0x1 \
  22. -expected-id 0x01111043 -expected-id 0x01112043 -expected-id 0x01113043 \
  23. -expected-id 0x21111043 -expected-id 0x41111043 -expected-id 0x41112043 \
  24. -expected-id 0x41113043 -expected-id 0x81111043 -expected-id 0x81112043 \
  25. -expected-id 0x81113043