xtensa-palladium-vdebug.cfg 793 B

123456789101112131415161718192021222324252627282930
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # Cadence virtual debug interface
  3. # for Palladium emulation systems
  4. #
  5. source [find interface/vdebug.cfg]
  6. # vdebug select JTAG transport
  7. transport select jtag
  8. # JTAG reset config, frequency and reset delay
  9. reset_config trst_and_srst
  10. adapter speed 50000
  11. adapter srst delay 5
  12. # Future improvement: Enable backdoor memory access
  13. # set _MEMSTART 0x00000000
  14. # set _MEMSIZE 0x100000
  15. # BFM hierarchical path and input clk period
  16. vdebug bfm_path Testbench.VJTAG 10ns
  17. # DMA Memories to access backdoor (up to 4)
  18. # vdebug mem_path tbench.u_mcu.u_sys.u_itcm_ram.Mem $_MEMSTART $_MEMSIZE
  19. # Create Xtensa target first
  20. source [find target/xtensa.cfg]
  21. # Configure Xtensa core parameters next
  22. # Generate [xtensa-core-XXX.cfg] via "xt-gdb --dump-oocd-config"