xilinx-xc6v.cfg 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # xilinx virtex 6
  3. # https://www.xilinx.com/support/documentation/user_guides/ug360.pdf
  4. if { [info exists CHIPNAME] } {
  5. set _CHIPNAME $CHIPNAME
  6. } else {
  7. set _CHIPNAME xc6v
  8. }
  9. # the 4 top bits (28:31) are the die stepping. ignore it.
  10. jtag newtap $_CHIPNAME tap -irlen 10 -ignore-version \
  11. -expected-id 0x042A2093 \
  12. -expected-id 0x042A4093 \
  13. -expected-id 0x042A8093 \
  14. -expected-id 0x042AC093 \
  15. -expected-id 0x04244093 \
  16. -expected-id 0x0424A093 \
  17. -expected-id 0x0424C093 \
  18. -expected-id 0x04250093 \
  19. -expected-id 0x04252093 \
  20. -expected-id 0x04256093 \
  21. -expected-id 0x0423A093 \
  22. -expected-id 0x04286093 \
  23. -expected-id 0x04288093 \
  24. -expected-id 0x042C4093 \
  25. -expected-id 0x042CA093 \
  26. -expected-id 0x042CC093 \
  27. -expected-id 0x042D0093
  28. pld create $_CHIPNAME.pld virtex2 -chain-position $_CHIPNAME.tap
  29. # cfg_out cfg_in jprogb jstart jshutdown user1-4
  30. virtex2 set_instr_codes $_CHIPNAME.pld 0x3C4 0x3C5 0x3CB 0x3CC 0x3CD
  31. virtex2 set_user_codes $_CHIPNAME.pld 0x3C2 0x3C3 0x3E2 0x3E3