diff --git a/src/jtag/drivers/vdebug.c b/src/jtag/drivers/vdebug.c index d2311b2ea8..1f9ac6536b 100644 --- a/src/jtag/drivers/vdebug.c +++ b/src/jtag/drivers/vdebug.c @@ -253,6 +253,11 @@ static int vdebug_socket_open(char *server_addr, uint32_t port) hsock = socket(AF_INET, SOCK_STREAM, IPPROTO_IP); if (hsock == INVALID_SOCKET) rc = vdebug_socket_error(); +#elif defined __CYGWIN__ + /* SO_RCVLOWAT unsupported */ + hsock = socket(AF_INET, SOCK_STREAM, IPPROTO_IP); + if (hsock < 0) + rc = errno; #else uint32_t rcvwat = VD_SHEADER_LEN; /* size of the rcv header, as rcv min watermark */ hsock = socket(AF_INET, SOCK_STREAM, IPPROTO_IP); diff --git a/tcl/board/xtensa-palladium-vdebug-dual.cfg b/tcl/board/xtensa-palladium-vdebug-dual.cfg new file mode 100644 index 0000000000..47d56f7607 --- /dev/null +++ b/tcl/board/xtensa-palladium-vdebug-dual.cfg @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Cadence virtual debug interface +# for Palladium emulation systems +# + +source [find interface/vdebug.cfg] + +# vdebug select JTAG transport +transport select jtag + +# JTAG reset config, frequency and reset delay +reset_config trst_and_srst +adapter speed 50000 +adapter srst delay 5 + +source [find target/vd_xtensa_jtag_dual.cfg] diff --git a/tcl/target/vd_xtensa_jtag.cfg b/tcl/target/vd_xtensa_jtag.cfg new file mode 100644 index 0000000000..197e5dae08 --- /dev/null +++ b/tcl/target/vd_xtensa_jtag.cfg @@ -0,0 +1,32 @@ +# Copyright (C) 2020-2021 Cadence Design Systems, Inc. +# Ian Thompson +# +# Cadence virtual debug interface +# for Palladium emulation systems +# + +# TODO: Enable backdoor memory access +# set _MEMSTART 0x00000000 +# set _MEMSIZE 0x100000 + +# BFM hierarchical path and input clk period +#vdebug bfm_path dut_top.JTAG 10ns +vdebug bfm_path Testbench.VJTAG 10ns + +# DMA Memories to access backdoor (up to 4) +# vdebug mem_path tbench.u_mcu.u_sys.u_itcm_ram.Mem $_MEMSTART $_MEMSIZE + +# Create Xtensa target first +source [find target/xtensa.cfg] + +# Configure Xtensa core parameters next +# Generate [xtensa-core-XXX.cfg] via "xt-gdb --dump-oocd-config" + +# register target +proc vdebug_examine_end {} { +# vdebug register_target +} + +# Default hooks +$_TARGETNAME configure -event examine-end { vdebug_examine_end } + diff --git a/tcl/target/vd_xtensa_jtag_dual.cfg b/tcl/target/vd_xtensa_jtag_dual.cfg new file mode 100644 index 0000000000..4440592338 --- /dev/null +++ b/tcl/target/vd_xtensa_jtag_dual.cfg @@ -0,0 +1,33 @@ +# Copyright (C) 2020-2021 Cadence Design Systems, Inc. +# Ian Thompson +# +# Cadence virtual debug interface +# for Palladium emulation systems +# + +# TODO: Enable backdoor memory access +# set _MEMSTART 0x00000000 +# set _MEMSIZE 0x100000 + +# BFM hierarchical path and input clk period +#vdebug bfm_path dut_top.JTAG 10ns +vdebug bfm_path Testbench.VJTAG 10ns + +# DMA Memories to access backdoor (up to 4) +# vdebug mem_path tbench.u_mcu.u_sys.u_itcm_ram.Mem $_MEMSTART $_MEMSIZE + +# Create Xtensa target first +source [find target/xtensa_dual.cfg] + +# Configure Xtensa core parameters next +# Generate [xtensa-core-XXX.cfg] via "xt-gdb --dump-oocd-config" + +# register target +proc vdebug_examine_end {} { +# vdebug register_target +} + +# Default hooks +$_TAPNAME0 configure -event examine-end { vdebug_examine_end } +$_TAPNAME1 configure -event examine-end { vdebug_examine_end } + diff --git a/tcl/target/xtensa-core-Frodo_L2RamOnly_2P.cfg b/tcl/target/xtensa-core-Frodo_L2RamOnly_2P.cfg new file mode 100644 index 0000000000..7d47456b1c --- /dev/null +++ b/tcl/target/xtensa-core-Frodo_L2RamOnly_2P.cfg @@ -0,0 +1,473 @@ +# OpenOCD configuration file v2.0 for Xtensa target architectures +# Automatically generated for Ball_M533_base +# +# Copyright (c) 2003-2023 Cadence Design Systems, Inc. +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ + + +# Core instance default definition +if { [info exists XTNAME] } { + set _XTNAME $XTNAME +} else { + set _XTNAME xtensa +} + + +# Core definition and ABI +$_XTNAME xtensa xtdef NX +$_XTNAME xtensa xtopt arnum 64 +$_XTNAME xtensa xtopt windowed 1 + + +# Exception/Interrupt Options +$_XTNAME xtensa xtopt exceptions 1 +$_XTNAME xtensa xtopt hipriints 1 +$_XTNAME xtensa xtopt intlevels 3 +$_XTNAME xtensa xtopt excmlevel 1 + + +# Cache Options +$_XTNAME xtensa xtmem icache 64 65536 4 +$_XTNAME xtensa xtmem dcache 64 16384 4 1 + + +# Memory Options +$_XTNAME xtensa xtmem iram 0xe3040000 65536 +$_XTNAME xtensa xtmem dram 0xe3000000 131072 +$_XTNAME xtensa xtmem dram 0xe3020000 131072 +$_XTNAME xtensa xtmem srom 0xc0200000 1048576 +$_XTNAME xtensa xtmem sram 0xc0500000 134217728 + + +# Memory Protection/Translation Options +$_XTNAME xtensa xtmpu 32 8192 0 1 + + +# Debug Options +$_XTNAME xtensa xtopt debuglevel 0 +$_XTNAME xtensa xtopt ibreaknum 2 +$_XTNAME xtensa xtopt dbreaknum 2 +$_XTNAME xtensa xtopt tracemem 8192 +$_XTNAME xtensa xtopt perfcount 8 + + +# Core Registers +$_XTNAME xtensa xtregs 400 +$_XTNAME xtensa xtreg a0 0x0000 +$_XTNAME xtensa xtreg a1 0x0001 +$_XTNAME xtensa xtreg a2 0x0002 +$_XTNAME xtensa xtreg a3 0x0003 +$_XTNAME xtensa xtreg a4 0x0004 +$_XTNAME xtensa xtreg a5 0x0005 +$_XTNAME xtensa xtreg a6 0x0006 +$_XTNAME xtensa xtreg a7 0x0007 +$_XTNAME xtensa xtreg a8 0x0008 +$_XTNAME xtensa xtreg a9 0x0009 +$_XTNAME xtensa xtreg a10 0x000a +$_XTNAME xtensa xtreg a11 0x000b +$_XTNAME xtensa xtreg a12 0x000c +$_XTNAME xtensa xtreg a13 0x000d +$_XTNAME xtensa xtreg a14 0x000e +$_XTNAME xtensa xtreg a15 0x000f +$_XTNAME xtensa xtreg pc 0x0020 +$_XTNAME xtensa xtreg ar0 0x0100 +$_XTNAME xtensa xtreg ar1 0x0101 +$_XTNAME xtensa xtreg ar2 0x0102 +$_XTNAME xtensa xtreg ar3 0x0103 +$_XTNAME xtensa xtreg ar4 0x0104 +$_XTNAME xtensa xtreg ar5 0x0105 +$_XTNAME xtensa xtreg ar6 0x0106 +$_XTNAME xtensa xtreg ar7 0x0107 +$_XTNAME xtensa xtreg ar8 0x0108 +$_XTNAME xtensa xtreg ar9 0x0109 +$_XTNAME xtensa xtreg ar10 0x010a +$_XTNAME xtensa xtreg ar11 0x010b +$_XTNAME xtensa xtreg ar12 0x010c +$_XTNAME xtensa xtreg ar13 0x010d +$_XTNAME xtensa xtreg ar14 0x010e +$_XTNAME xtensa xtreg ar15 0x010f +$_XTNAME xtensa xtreg ar16 0x0110 +$_XTNAME xtensa xtreg ar17 0x0111 +$_XTNAME xtensa xtreg ar18 0x0112 +$_XTNAME xtensa xtreg ar19 0x0113 +$_XTNAME xtensa xtreg ar20 0x0114 +$_XTNAME xtensa xtreg ar21 0x0115 +$_XTNAME xtensa xtreg ar22 0x0116 +$_XTNAME xtensa xtreg ar23 0x0117 +$_XTNAME xtensa xtreg ar24 0x0118 +$_XTNAME xtensa xtreg ar25 0x0119 +$_XTNAME xtensa xtreg ar26 0x011a +$_XTNAME xtensa xtreg ar27 0x011b +$_XTNAME xtensa xtreg ar28 0x011c +$_XTNAME xtensa xtreg ar29 0x011d +$_XTNAME xtensa xtreg ar30 0x011e +$_XTNAME xtensa xtreg ar31 0x011f +$_XTNAME xtensa xtreg ar32 0x0120 +$_XTNAME xtensa xtreg ar33 0x0121 +$_XTNAME xtensa xtreg ar34 0x0122 +$_XTNAME xtensa xtreg ar35 0x0123 +$_XTNAME xtensa xtreg ar36 0x0124 +$_XTNAME xtensa xtreg ar37 0x0125 +$_XTNAME xtensa xtreg ar38 0x0126 +$_XTNAME xtensa xtreg ar39 0x0127 +$_XTNAME xtensa xtreg ar40 0x0128 +$_XTNAME xtensa xtreg ar41 0x0129 +$_XTNAME xtensa xtreg ar42 0x012a +$_XTNAME xtensa xtreg ar43 0x012b +$_XTNAME xtensa xtreg ar44 0x012c +$_XTNAME xtensa xtreg ar45 0x012d +$_XTNAME xtensa xtreg ar46 0x012e +$_XTNAME xtensa xtreg ar47 0x012f +$_XTNAME xtensa xtreg ar48 0x0130 +$_XTNAME xtensa xtreg ar49 0x0131 +$_XTNAME xtensa xtreg ar50 0x0132 +$_XTNAME xtensa xtreg ar51 0x0133 +$_XTNAME xtensa xtreg ar52 0x0134 +$_XTNAME xtensa xtreg ar53 0x0135 +$_XTNAME xtensa xtreg ar54 0x0136 +$_XTNAME xtensa xtreg ar55 0x0137 +$_XTNAME xtensa xtreg ar56 0x0138 +$_XTNAME xtensa xtreg ar57 0x0139 +$_XTNAME xtensa xtreg ar58 0x013a +$_XTNAME xtensa xtreg ar59 0x013b +$_XTNAME xtensa xtreg ar60 0x013c +$_XTNAME xtensa xtreg ar61 0x013d +$_XTNAME xtensa xtreg ar62 0x013e +$_XTNAME xtensa xtreg ar63 0x013f +$_XTNAME xtensa xtreg lbeg 0x0200 +$_XTNAME xtensa xtreg lend 0x0201 +$_XTNAME xtensa xtreg lcount 0x0202 +$_XTNAME xtensa xtreg sar 0x0203 +$_XTNAME xtensa xtreg wb 0x0248 +$_XTNAME xtensa xtreg configid0 0x02b0 +$_XTNAME xtensa xtreg configid1 0x02d0 +$_XTNAME xtensa xtreg ps 0x02e6 +$_XTNAME xtensa xtreg threadptr 0x03e7 +$_XTNAME xtensa xtreg br 0x0204 +$_XTNAME xtensa xtreg bytediscntla 0x036c +$_XTNAME xtensa xtreg bytediscntlb 0x0370 +$_XTNAME xtensa xtreg scl_acc 0x0378 +$_XTNAME xtensa xtreg expstate 0x03e6 +$_XTNAME xtensa xtreg vb0 0x1040 +$_XTNAME xtensa xtreg vb1 0x1041 +$_XTNAME xtensa xtreg vb2 0x1042 +$_XTNAME xtensa xtreg vb3 0x1043 +$_XTNAME xtensa xtreg vb4 0x1044 +$_XTNAME xtensa xtreg vb5 0x1045 +$_XTNAME xtensa xtreg vb6 0x1046 +$_XTNAME xtensa xtreg vb7 0x1047 +$_XTNAME xtensa xtreg vb8 0x1048 +$_XTNAME xtensa xtreg vb9 0x1049 +$_XTNAME xtensa xtreg vb10 0x104a +$_XTNAME xtensa xtreg vb11 0x104b +$_XTNAME xtensa xtreg vb12 0x104c +$_XTNAME xtensa xtreg vb13 0x104d +$_XTNAME xtensa xtreg vb14 0x104e +$_XTNAME xtensa xtreg vb15 0x104f +$_XTNAME xtensa xtreg vb16 0x1050 +$_XTNAME xtensa xtreg vb17 0x1051 +$_XTNAME xtensa xtreg vb18 0x1052 +$_XTNAME xtensa xtreg vb19 0x1053 +$_XTNAME xtensa xtreg vb20 0x1054 +$_XTNAME xtensa xtreg vb21 0x1055 +$_XTNAME xtensa xtreg vb22 0x1056 +$_XTNAME xtensa xtreg vb23 0x1057 +$_XTNAME xtensa xtreg vb24 0x1058 +$_XTNAME xtensa xtreg vb25 0x1059 +$_XTNAME xtensa xtreg vb26 0x105a +$_XTNAME xtensa xtreg vb27 0x105b +$_XTNAME xtensa xtreg vb28 0x105c +$_XTNAME xtensa xtreg vb29 0x105d +$_XTNAME xtensa xtreg vb30 0x105e +$_XTNAME xtensa xtreg vb31 0x105f +$_XTNAME xtensa xtreg v0 0x1060 +$_XTNAME xtensa xtreg v1 0x1061 +$_XTNAME xtensa xtreg v2 0x1062 +$_XTNAME xtensa xtreg v3 0x1063 +$_XTNAME xtensa xtreg v4 0x1064 +$_XTNAME xtensa xtreg v5 0x1065 +$_XTNAME xtensa xtreg v6 0x1066 +$_XTNAME xtensa xtreg v7 0x1067 +$_XTNAME xtensa xtreg v8 0x1068 +$_XTNAME xtensa xtreg v9 0x1069 +$_XTNAME xtensa xtreg v10 0x106a +$_XTNAME xtensa xtreg v11 0x106b +$_XTNAME xtensa xtreg v12 0x106c +$_XTNAME xtensa xtreg v13 0x106d +$_XTNAME xtensa xtreg v14 0x106e +$_XTNAME xtensa xtreg v15 0x106f +$_XTNAME xtensa xtreg v16 0x1070 +$_XTNAME xtensa xtreg v17 0x1071 +$_XTNAME xtensa xtreg v18 0x1072 +$_XTNAME xtensa xtreg v19 0x1073 +$_XTNAME xtensa xtreg v20 0x1074 +$_XTNAME xtensa xtreg v21 0x1075 +$_XTNAME xtensa xtreg v22 0x1076 +$_XTNAME xtensa xtreg v23 0x1077 +$_XTNAME xtensa xtreg v24 0x1078 +$_XTNAME xtensa xtreg v25 0x1079 +$_XTNAME xtensa xtreg v26 0x107a +$_XTNAME xtensa xtreg v27 0x107b +$_XTNAME xtensa xtreg v28 0x107c +$_XTNAME xtensa xtreg v29 0x107d +$_XTNAME xtensa xtreg v30 0x107e +$_XTNAME xtensa xtreg v31 0x107f +$_XTNAME xtensa xtreg scl0 0x1080 +$_XTNAME xtensa xtreg scl1 0x1081 +$_XTNAME xtensa xtreg scl2 0x1082 +$_XTNAME xtensa xtreg scl3 0x1083 +$_XTNAME xtensa xtreg scl4 0x1084 +$_XTNAME xtensa xtreg scl5 0x1085 +$_XTNAME xtensa xtreg scl6 0x1086 +$_XTNAME xtensa xtreg scl7 0x1087 +$_XTNAME xtensa xtreg scl8 0x1088 +$_XTNAME xtensa xtreg scl9 0x1089 +$_XTNAME xtensa xtreg scl10 0x108a +$_XTNAME xtensa xtreg scl11 0x108b +$_XTNAME xtensa xtreg scl12 0x108c +$_XTNAME xtensa xtreg scl13 0x108d +$_XTNAME xtensa xtreg scl14 0x108e +$_XTNAME xtensa xtreg scl15 0x108f +$_XTNAME xtensa xtreg scle0 0x1090 +$_XTNAME xtensa xtreg scle1 0x1091 +$_XTNAME xtensa xtreg scle2 0x1092 +$_XTNAME xtensa xtreg scle3 0x1093 +$_XTNAME xtensa xtreg scle4 0x1094 +$_XTNAME xtensa xtreg scle5 0x1095 +$_XTNAME xtensa xtreg scle6 0x1096 +$_XTNAME xtensa xtreg scle7 0x1097 +$_XTNAME xtensa xtreg scle8 0x1098 +$_XTNAME xtensa xtreg scle9 0x1099 +$_XTNAME xtensa xtreg scle10 0x109a +$_XTNAME xtensa xtreg scle11 0x109b +$_XTNAME xtensa xtreg scle12 0x109c +$_XTNAME xtensa xtreg scle13 0x109d +$_XTNAME xtensa xtreg scle14 0x109e +$_XTNAME xtensa xtreg scle15 0x109f +$_XTNAME xtensa xtreg ev0 0x10a0 +$_XTNAME xtensa xtreg ev1 0x10a1 +$_XTNAME xtensa xtreg ev2 0x10a2 +$_XTNAME xtensa xtreg ev3 0x10a3 +$_XTNAME xtensa xtreg ev4 0x10a4 +$_XTNAME xtensa xtreg ev5 0x10a5 +$_XTNAME xtensa xtreg ev6 0x10a6 +$_XTNAME xtensa xtreg ev7 0x10a7 +$_XTNAME xtensa xtreg ev8 0x10a8 +$_XTNAME xtensa xtreg ev9 0x10a9 +$_XTNAME xtensa xtreg ev10 0x10aa +$_XTNAME xtensa xtreg ev11 0x10ab +$_XTNAME xtensa xtreg ev12 0x10ac +$_XTNAME xtensa xtreg ev13 0x10ad +$_XTNAME xtensa xtreg ev14 0x10ae +$_XTNAME xtensa xtreg ev15 0x10af +$_XTNAME xtensa xtreg gr0 0x10b0 +$_XTNAME xtensa xtreg gr1 0x10b1 +$_XTNAME xtensa xtreg gr2 0x10b2 +$_XTNAME xtensa xtreg gr3 0x10b3 +$_XTNAME xtensa xtreg gr4 0x10b4 +$_XTNAME xtensa xtreg gr5 0x10b5 +$_XTNAME xtensa xtreg gr6 0x10b6 +$_XTNAME xtensa xtreg gr7 0x10b7 +$_XTNAME xtensa xtreg scl_saturate 0x10b8 +$_XTNAME xtensa xtreg scalar_expstate 0x2031 +$_XTNAME xtensa xtreg vector_expstate 0x2032 +$_XTNAME xtensa xtreg randomctl 0x0368 +$_XTNAME xtensa xtreg bytedisablesa_0 0x0369 +$_XTNAME xtensa xtreg bytedisableva_0 0x036a +$_XTNAME xtensa xtreg bytedisableva_1 0x036b +$_XTNAME xtensa xtreg bytedisablesb_0 0x036d +$_XTNAME xtensa xtreg bytedisablevb_0 0x036e +$_XTNAME xtensa xtreg bytedisablevb_1 0x036f +$_XTNAME xtensa xtreg scd0 0x1000 +$_XTNAME xtensa xtreg scd1 0x1001 +$_XTNAME xtensa xtreg scd2 0x1002 +$_XTNAME xtensa xtreg scd3 0x1003 +$_XTNAME xtensa xtreg scd4 0x1004 +$_XTNAME xtensa xtreg scd5 0x1005 +$_XTNAME xtensa xtreg scd6 0x1006 +$_XTNAME xtensa xtreg scd7 0x1007 +$_XTNAME xtensa xtreg scd8 0x1008 +$_XTNAME xtensa xtreg scd9 0x1009 +$_XTNAME xtensa xtreg scd10 0x100a +$_XTNAME xtensa xtreg scd11 0x100b +$_XTNAME xtensa xtreg scd12 0x100c +$_XTNAME xtensa xtreg scd13 0x100d +$_XTNAME xtensa xtreg scd14 0x100e +$_XTNAME xtensa xtreg scd15 0x100f +$_XTNAME xtensa xtreg ved0 0x1010 +$_XTNAME xtensa xtreg ved1 0x1011 +$_XTNAME xtensa xtreg ved2 0x1012 +$_XTNAME xtensa xtreg ved3 0x1013 +$_XTNAME xtensa xtreg ved4 0x1014 +$_XTNAME xtensa xtreg ved5 0x1015 +$_XTNAME xtensa xtreg ved6 0x1016 +$_XTNAME xtensa xtreg ved7 0x1017 +$_XTNAME xtensa xtreg ved8 0x1018 +$_XTNAME xtensa xtreg ved9 0x1019 +$_XTNAME xtensa xtreg ved10 0x101a +$_XTNAME xtensa xtreg ved11 0x101b +$_XTNAME xtensa xtreg ved12 0x101c +$_XTNAME xtensa xtreg ved13 0x101d +$_XTNAME xtensa xtreg ved14 0x101e +$_XTNAME xtensa xtreg ved15 0x101f +$_XTNAME xtensa xtreg mmid 0x0259 +$_XTNAME xtensa xtreg mpuenb 0x025a +$_XTNAME xtensa xtreg mpucfg 0x025c +$_XTNAME xtensa xtreg eraccess 0x025f +$_XTNAME xtensa xtreg memctl 0x0261 +$_XTNAME xtensa xtreg atomctl 0x0263 +$_XTNAME xtensa xtreg ddr 0x0268 +$_XTNAME xtensa xtreg iram0cfg 0x0269 +$_XTNAME xtensa xtreg dram0cfg 0x026a +$_XTNAME xtensa xtreg dram1cfg 0x026c +$_XTNAME xtensa xtreg ieextern 0x0272 +$_XTNAME xtensa xtreg ievec 0x0274 +$_XTNAME xtensa xtreg apb0cfg 0x0275 +$_XTNAME xtensa xtreg ibreaka0 0x0280 +$_XTNAME xtensa xtreg ibreaka1 0x0281 +$_XTNAME xtensa xtreg dbreaka0 0x0290 +$_XTNAME xtensa xtreg dbreaka1 0x0291 +$_XTNAME xtensa xtreg dbreakc0 0x02a0 +$_XTNAME xtensa xtreg dbreakc1 0x02a1 +$_XTNAME xtensa xtreg epc 0x02b1 +$_XTNAME xtensa xtreg ibreakc0 0x02c0 +$_XTNAME xtensa xtreg ibreakc1 0x02c1 +$_XTNAME xtensa xtreg cpenable 0x02e0 +$_XTNAME xtensa xtreg ms 0x02e5 +$_XTNAME xtensa xtreg vecbase 0x02e7 +$_XTNAME xtensa xtreg exccause 0x02e8 +$_XTNAME xtensa xtreg ccount 0x02ea +$_XTNAME xtensa xtreg prid 0x02eb +$_XTNAME xtensa xtreg isb 0x02ec +$_XTNAME xtensa xtreg excvaddr 0x02ee +$_XTNAME xtensa xtreg ccompare0 0x02f0 +$_XTNAME xtensa xtreg ccompare1 0x02f1 +$_XTNAME xtensa xtreg ccompare2 0x02f2 +$_XTNAME xtensa xtreg misc0 0x02f4 +$_XTNAME xtensa xtreg misc1 0x02f5 +$_XTNAME xtensa xtreg isl 0x02f8 +$_XTNAME xtensa xtreg ksl 0x02f9 +$_XTNAME xtensa xtreg pwrctl 0x2035 +$_XTNAME xtensa xtreg pwrstat 0x2036 +$_XTNAME xtensa xtreg eristat 0x2037 +$_XTNAME xtensa xtreg cs_itctrl 0x2038 +$_XTNAME xtensa xtreg cs_claimset 0x2039 +$_XTNAME xtensa xtreg cs_claimclr 0x203a +$_XTNAME xtensa xtreg cs_lockaccess 0x203b +$_XTNAME xtensa xtreg cs_lockstatus 0x203c +$_XTNAME xtensa xtreg cs_authstatus 0x203d +$_XTNAME xtensa xtreg fault_info 0x204c +$_XTNAME xtensa xtreg fault_info_hi 0x204d +$_XTNAME xtensa xtreg trax_id 0x204e +$_XTNAME xtensa xtreg trax_control 0x204f +$_XTNAME xtensa xtreg trax_status 0x2050 +$_XTNAME xtensa xtreg trax_data 0x2051 +$_XTNAME xtensa xtreg trax_address 0x2052 +$_XTNAME xtensa xtreg trax_pctrigger 0x2053 +$_XTNAME xtensa xtreg trax_pcmatch 0x2054 +$_XTNAME xtensa xtreg trax_delay 0x2055 +$_XTNAME xtensa xtreg trax_memstart 0x2056 +$_XTNAME xtensa xtreg trax_memend 0x2057 +$_XTNAME xtensa xtreg pmg 0x2065 +$_XTNAME xtensa xtreg pmpc 0x2066 +$_XTNAME xtensa xtreg pm0 0x2067 +$_XTNAME xtensa xtreg pm1 0x2068 +$_XTNAME xtensa xtreg pm2 0x2069 +$_XTNAME xtensa xtreg pm3 0x206a +$_XTNAME xtensa xtreg pm4 0x206b +$_XTNAME xtensa xtreg pm5 0x206c +$_XTNAME xtensa xtreg pm6 0x206d +$_XTNAME xtensa xtreg pm7 0x206e +$_XTNAME xtensa xtreg pmctrl0 0x206f +$_XTNAME xtensa xtreg pmctrl1 0x2070 +$_XTNAME xtensa xtreg pmctrl2 0x2071 +$_XTNAME xtensa xtreg pmctrl3 0x2072 +$_XTNAME xtensa xtreg pmctrl4 0x2073 +$_XTNAME xtensa xtreg pmctrl5 0x2074 +$_XTNAME xtensa xtreg pmctrl6 0x2075 +$_XTNAME xtensa xtreg pmctrl7 0x2076 +$_XTNAME xtensa xtreg pmstat0 0x2077 +$_XTNAME xtensa xtreg pmstat1 0x2078 +$_XTNAME xtensa xtreg pmstat2 0x2079 +$_XTNAME xtensa xtreg pmstat3 0x207a +$_XTNAME xtensa xtreg pmstat4 0x207b +$_XTNAME xtensa xtreg pmstat5 0x207c +$_XTNAME xtensa xtreg pmstat6 0x207d +$_XTNAME xtensa xtreg pmstat7 0x207e +$_XTNAME xtensa xtreg ocdid 0x207f +$_XTNAME xtensa xtreg ocd_dcrclr 0x2080 +$_XTNAME xtensa xtreg ocd_dcrset 0x2081 +$_XTNAME xtensa xtreg ocd_dsr 0x2082 +$_XTNAME xtensa xtreg idma_settings 0x208a +$_XTNAME xtensa xtreg idma_timeout 0x208b +$_XTNAME xtensa xtreg idma_desc_start 0x208c +$_XTNAME xtensa xtreg idma_desc_num 0x208d +$_XTNAME xtensa xtreg idma_desc_inc 0x208e +$_XTNAME xtensa xtreg idma_control 0x208f +$_XTNAME xtensa xtreg idma_userpriv 0x2090 +$_XTNAME xtensa xtreg idma_status 0x2091 +$_XTNAME xtensa xtreg idma_desc_curaddr 0x2092 +$_XTNAME xtensa xtreg idma_desc_curtype 0x2093 +$_XTNAME xtensa xtreg idma_src 0x2094 +$_XTNAME xtensa xtreg idma_dst 0x2095 +$_XTNAME xtensa xtreg b0 0x0010 +$_XTNAME xtensa xtreg b1 0x0011 +$_XTNAME xtensa xtreg b2 0x0012 +$_XTNAME xtensa xtreg b3 0x0013 +$_XTNAME xtensa xtreg b4 0x0014 +$_XTNAME xtensa xtreg b5 0x0015 +$_XTNAME xtensa xtreg b6 0x0016 +$_XTNAME xtensa xtreg b7 0x0017 +$_XTNAME xtensa xtreg b8 0x0018 +$_XTNAME xtensa xtreg b9 0x0019 +$_XTNAME xtensa xtreg b10 0x001a +$_XTNAME xtensa xtreg b11 0x001b +$_XTNAME xtensa xtreg b12 0x001c +$_XTNAME xtensa xtreg b13 0x001d +$_XTNAME xtensa xtreg b14 0x001e +$_XTNAME xtensa xtreg b15 0x001f +$_XTNAME xtensa xtreg vecbaselock 0x2004 +$_XTNAME xtensa xtreg psdiexc 0x2005 +$_XTNAME xtensa xtreg psdi 0x2006 +$_XTNAME xtensa xtreg psring 0x2007 +$_XTNAME xtensa xtreg psstack 0x2008 +$_XTNAME xtensa xtreg psentrynr 0x2009 +$_XTNAME xtensa xtreg wb_s 0x200a +$_XTNAME xtensa xtreg wb_p 0x200b +$_XTNAME xtensa xtreg wb_c 0x200c +$_XTNAME xtensa xtreg wb_n 0x200d +$_XTNAME xtensa xtreg ms_dispst 0x2011 +$_XTNAME xtensa xtreg excinf 0x2013 +$_XTNAME xtensa xtreg psss 0x2016 +$_XTNAME xtensa xtreg ms_de 0x2017 +$_XTNAME xtensa xtreg mpunumentries 0x2020 +$_XTNAME xtensa xtreg dbreakc_sg0 0x2022 +$_XTNAME xtensa xtreg dbreakc_sg1 0x2024 +$_XTNAME xtensa xtreg randombytedisable 0x2028 +$_XTNAME xtensa xtreg bytedisable_regsa 0x2029 +$_XTNAME xtensa xtreg bytedisable_regva 0x202a +$_XTNAME xtensa xtreg bytedis_counta 0x202b +$_XTNAME xtensa xtreg bytedis_vara 0x202c +$_XTNAME xtensa xtreg bytedisable_regsb 0x202d +$_XTNAME xtensa xtreg bytedisable_regvb 0x202e +$_XTNAME xtensa xtreg bytedis_countb 0x202f +$_XTNAME xtensa xtreg bytedis_varb 0x2030 +$_XTNAME xtensa xtreg scl_sat_en 0x2033 diff --git a/tcl/target/xtensa_dual.cfg b/tcl/target/xtensa_dual.cfg index 8254caac53..514e10a931 100644 --- a/tcl/target/xtensa_dual.cfg +++ b/tcl/target/xtensa_dual.cfg @@ -5,7 +5,7 @@ set xtensa_ids { 0x120034e5 0x120134e5 0x209034e5 0x209134e5 0x209234e5 0x209334e5 0x209434e5 0x209534e5 0x209634e5 0x209734e5 0x20a034e5 0x20a134e5 0x20a234e5 0x20a334e5 0x20a434e5 0x20a534e5 0x20a634e5 0x20a734e5 0x20a834e5 - 0x20b034e5 } + 0x20b034e5 0x20b33ac5 0x20b33ac7 } set expected_xtensa_ids {} foreach i $xtensa_ids { lappend expected_xtensa_ids -expected-id $i