xilinx-xc7v.cfg 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # xilinx series 7 (artix, kintex, virtex)
  3. # http://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf
  4. # https://bsdl.info/view.htm?sid=08e275a0cd3ac38988ca59b002289d77
  5. # https://bsdl.info/view.htm?sid=44dae65d3cf9593188ca59b002289d77
  6. #
  7. # this config file is for XC7VX1140T and XC7V2000T only.
  8. # for other virtex-7 devices use xilinx-xc7vh580t.cfg or xilinx-xc7vh870t.cfg or xilinx-xc7.cfg
  9. if { [info exists CHIPNAME] } {
  10. set _CHIPNAME $CHIPNAME
  11. } else {
  12. set _CHIPNAME xc7v
  13. }
  14. #0x036D5093: XC7VX1140T
  15. #0x036By093: XC7V2000T
  16. #y = xx11 = 3, 7, B or F
  17. jtag newtap $_CHIPNAME tap -irlen 24 -ignore-version \
  18. -expected-id 0x036B3093 -expected-id 0x036B7093 \
  19. -expected-id 0x036BB093 -expected-id 0x036BF093 \
  20. -expected-id 0x036D5093
  21. #CFG_OUT_SLR0 0x124924
  22. #CFG_IN_SLR0 0x164924
  23. #CFG_OUT_SLR1 0x904924
  24. #CFG_IN_SLR1 0x905924
  25. #CFG_OUT_SLR2 0x924124
  26. #CFG_IN_SLR2 0x924164
  27. #CFG_OUT_SLR3 0x924904
  28. #CFG_IN_SLR3 0x924905
  29. pld create $_CHIPNAME.pld virtex2 -chain-position $_CHIPNAME.tap -no_jstart
  30. # cfg_out cfg_in jprogb jstart jshutdown
  31. virtex2 set_instr_codes $_CHIPNAME.pld 0x3FFFFF 0x3FFFFF 0x2CB2CB 0x30C30C 0x34D34D