# Xtensa default parameter values

# Customer ID=7729; Build=0x71521; Copyright (c) 2004-2015 Tensilica Inc.  ALL RIGHTS RESERVED.
# These coded instructions, statements, and computer programs are the
# copyrighted works and confidential proprietary information of Tensilica Inc.
# They may not be modified, copied, reproduced, distributed, or disclosed to
# third parties in any manner, medium, or form, in whole or in part, without
# the prior written consent of Tensilica Inc.

# WARNING: This file has been automatically generated with values that are
# specific to a particular Xtensa processor configuration.  Changing values
# here will likely result in an inconsistent system.  Do not edit!


# Version information for software tools and target hardware
SWToolsRelease = RG-2017.5
SWToolsVername = 12.0.5
SWToolsVersion = 1200005
HWMicroArchLatest = 260002
HWMicroArchEarliest = 260002
TargetHWVersion = LX6.0.2
ConfigName = Xm_hifi3_hikey960
IsPreconfiguredCore = 0
uarchName = Barcelona

# Preconfigured ISA parameters
IsaIsBigEndian = 0
IsaMaxInstructionSize = 8
IsaUseWindowedRegisters = 1
IsaUseDensityInstruction = 1
IsaNumContexts = 1
IsaUseL32R = 1
IsaUseConst16 = 0
IsaUseAbs = 1
IsaUseAddx = 1
IsaUsePredictedBranches = 0
IsaUseNormShiftAmount = 1
IsaUseMinMax = 1
IsaUseSignExtend = 1
IsaUseDepBits = 0
IsaUseClamps = 1
IsaUseMAC16 = 1
IsaUseMul16 = 1
MUL32ImplementsMul16 = 0
MAC16ImplementsMul16 = 1
IsaUseS32C1I = 1
IsaUseTAPMaster = 0
IsaUseVectorFPU2005 = 0
IsaAssumesSPFPU = 0
IsaAssumesDPFPU = 0
IsaUseDoubleFP_accel = 0
IsaUseFloatingPoint = 0
IsaUseFloatingPointDiv = 0
IsaUseFloatingPointRecip = 0
IsaUseFloatingPointSqrt = 0
IsaUseFloatingPointRSqrt = 0
IsaUseDoubleFP = 0
IsaUseDoubleFPDiv = 0
IsaUseDoubleFPRecip = 0
IsaUseDoubleFPSqrt = 0
IsaUseDoubleFPRSqrt = 0
IsaUseVectra1 = 0
IsaUseVectra2 = 0
IsaUseLinuxMMU = 0
IsaUseLinuxMMUIIndexCount = 0
IsaUseLinuxMMUDIndexCount = 0
IsaUseRegionProt = 1
IsaUseRegionProtXlation = 1
IsaUseThreadPtr = 0
IsaUseBBE16 = 0
IsaUseBBENEP = 0
IsaUsePDX = 0
IsaUseFusionG = 0
IsaUseVision = 0
IsaUseFusion = 0
IsaUseHiFi2 = 0
IsaUseHiFi3 = 1
IsaUseHiFi3Z = 0
IsaUseHiFi4 = 0
IsaUseHiFiPro = 0
IsaUseHiFi2_32x24 = 0
IsaUseHiFi2_40b = 0
IsaUseConnXD2 = 0
IsaUse32bitMul = 1
IsaUse32bitMulh = 1
IsaUseIterative32bitMul = 0
IsaUse32bitDiv = 1
IsaUseBooleans = 1
IsaUseCoprocessor = 1
IsaCoprocessorCount = 2
IsaUseLeadingZeros = 1
IsaUseLoops = 1
IsaUseExtL32R = 0
IsaUseLitBase = 0
IsaUseInstPif = 1
IsaUseDataPif = 1
IsaUseExceptions = 1
IsaUseHalt = 0
IsaUsePrid = 1
ProcessorID = 0
HWConfigID0 = 0xC3B3DFFE
HWConfigID1 = 0x1C86D768
IsaMisAlignedLoadExc = 0
IsaMisAlignedStoreExc = 0
IsaUseSynchronization = 1
IsaUsePerfCounters = 0
perfCounterCount = 4
IsaSysHandlesMisAlignedLoad = 0
IsaSysHandlesMisAlignedStore = 0
IsaHardwareHandlesMisAlignedLoad = 1
IsaHardwareHandlesMisAlignedStore = 1
IsaUseOCD = 1
DebugLoadStoreDDR = 1
DebugDataVAddrTrapCount = 2
DebugInstVAddrTrapCount = 2
DebugExternalInterrupt = 1
ExternalRegistersInterface = 1
ArithmeticException = 0
NumMiscRegs = 2
PIFReadDataBits = 64
PIFWriteDataBits = 64
PIFWriteResponse = 1
PIFCriticalWordFirst = 1
PIFArbitraryByteEnables = 1
PIFInbound = 1
PIFInboundBufferEntries = 4
PIFReqAttribute = 0
#PIFReqDomain: Implies if POReqDomain[1:0] signal is present.
#Also implies data cache tag have 3 extra bits (Allocate/Shared/Inner). 
PIFReqDomain = 0
EarlyRestart = 1
LoopBufferSize = 256
MemoryErrorsEnabled = 0
DataErrorWordWidth = 0
TIEUseWideStore = 1
WideInstHoldingBuffer = 1
PrefetchBuffers = 8
PrefetchToL1 = 0
PrefetchCastoutLines = 0
PrefetchBlock = 0
PrefetchBlockEntries = 2 
WriteBufferEntries = 16
WriteBufferBypassAddrBits = 0
DataCacheBytes = 65536
DataCacheWayCount = 4
DataCacheLineBytes = 128
DataCacheAccessWidth = 64
DataCacheWriteback = 1
DataCacheLock = 1
DataCacheTest = 1
DataCacheDataParity = 0
DataCacheDataECC = 0
DataCacheTagParity = 0
DataCacheTagECC = 0
DataCacheCoherence = 0
DataCacheBanks = 1
DataCacheWayDisable = 0
InstCacheBytes = 65536
InstCacheWayCount = 4
InstCacheLineBytes = 128
InstCacheAccessWidth = 64
InstCacheLock = 1
InstCacheTest = 1
InstCacheDataParity = 0
InstCacheDataECC = 0
InstCacheTagParity = 0
InstCacheTagECC = 0
InstCacheWayDisable = 0
PhysicalAddressWidth = 32
ByteEnableWidth = 8
MasterExclAccess = 0
SlaveExclAccess = 0
ExtExclMasters = 1

UnifiedRAMCount = 0
InstRAMCount = 2
InstRAM0Latency = 1
InstRAM1Latency = 1
InstROMCount = 0
DataRAMCount = 2
DataRAM0Latency = 1
DataRAM1Latency = 1
DataROMCount = 0
DataPortCount = 0

StoreBufferEntries = 2

# Local memory info for ISS:  
# Get the count for each local memory type, and if
# the count is non-zero, return a list of parameters
# [ size, base_address, access_width, busy, dma, cbox, rcw, parity, ecc, enable_mask, enable_code, udma ]
# for each instance of that memory type.
# 
ISSEntriesPerRam = 12
ISSUnifiedRAMCount = 0
ISSDataRAMCount = 2
ISSDataRAMBanks=1
ISSDataRAMSubBanks=1
DataRAMSplitRW=0
DataRAMAttributeWidth=0
ISSDataRAMInfo = [ 0x8000 0xe8058000 64 0 1 0 1 0 0 0 0 0 0x20000 0xe8060000 64 0 1 0 1 0 0 0 0 0 ]
ISSDataROMCount = 0
ISSInstRAMCount = 2
ISSInstRAMBanks=1
ISSInstRAMSubBanks=1
InstRAMSplitRW=0
InstRAMAttributeWidth=0
ISSInstRAMInfo = [ 0x8000 0xe8080000 64 0 1 0 0 0 0 0 0 0 0x4000 0xe8088000 64 0 1 0 0 0 0 0 0 0 ]
ISSInstROMCount = 0
ISSDataPortCount = 0

# C-Box
CBox = 0

# PC
PC_Width = 32
PC_UpperFixedBits = 0x00000000

# Local memory latency
InstCIFCycles = 1
InstFetchWidth = 64
DataCIFCycles = 1
LoadStoreWidth = 64
LoadStoreUnitsCount = 1
AllowImemLoadStore = 1
FastL32RFromIRam = 1

ImplRegFileBuildingBlock = FlipFlop
ImplResetFlops = 1
ImplAsyncReset = 1
ImplTargetSpeed = 816
ImplTargetSize = 474201
ImplTargetTechnology = 28hm
ImplOperatingCondition = Worst
ImplVoltageCondition = Nominal
ClkGateFuncUnit = 1
ClkGateGlobal = 1
LatchesTransparent = 0
FullScan = 1

TracePort = 1
TracePortData = 0
TracePortMemBytes = 4096
TRAX = 1

PIFBridgeType = AXI
PIFAsyncBusBridge = 1

BootLoader = 0

DCQueues = 0
DCPorts = 1
TIE_DC545CK = 0
TIE_DC570T = 0
TIE_MUL32 = 1
TIE_MUL32_H = 1
ConnXBBE16 = 0
ConnXBBE16_VecDiv = 0
ConnXBBE16_Rsqrt = 0
ConnXBBE16_Despread = 0

# Base vector addresses
RelocatableVectors = 1
VectorBase1FromPins = 0
StaticVectorSelect = 0
StaticVectorBase0 = 0xe8080000
StaticVectorBase1 = 0xc0000000
DynVecBaseReset = 0xe8080400
DynVecBaseAlignBits = 10

# Vector offsets
ResetVectorOffset           = 0x00000000
MemoryExceptionVectorOffset = 0x00000000
WindowVectorsOffset         = 0x00000000
KernelExceptionVectorOffset = 0x00000300
UserExceptionVectorOffset   = 0x00000340
DoubleExceptionVectorOffset = 0x000003c0
Level2InterruptVectorOffset = 0x00000180
Level3InterruptVectorOffset = 0x000001c0
Level4InterruptVectorOffset = 0x00000200
Level5InterruptVectorOffset = 0x00000240
Level6InterruptVectorOffset = 0x000002c0
Level7InterruptVectorOffset = 0x00000000
DebugExceptionVectorOffset  = 0x00000240
NMIExceptionVectorOffset    = 0x000002c0
# Vectors configured
Vectors = [ ResetVector KernelExceptionVector UserExceptionVector DoubleExceptionVector WindowVectors Level2InterruptVector Level3InterruptVector Level4InterruptVector DebugExceptionVector NMIExceptionVector ]
VectorSizes = [ 768 56 56 64 376 56 56 56 56 56 ]
StaticVectors = [ ResetVector ]

# Interrupts
InterruptCount = 32
InterruptLevelMax = 5
InterruptExtCount = 27
IsaUseHighLevelInterrupt = 1

ISSInterruptLevelMasks   = [ 0x0 0xdff7f000 0x00000f00 0x200800be 0x00000040 0x00000000 ]
InterruptVectorOffsets   = [ 0x0 0x0 0x00000180 0x000001c0 0x00000200 0x00000240 ]

IsNMIConfigured = 1

ISSInterruptSoftwareMask = 0x00000002
ISSInterruptExtLevelMask = 0xdff7ff9c
ISSInterruptWriteErrMask = 0x20000000
ISSInterruptExtEdgeMask  = 0x00000000
ISSInterruptNMIMask      = 0x00000001
ISSInterruptUDmaDoneMask = 0x00000000
ISSInterruptUDmaErrMask  = 0x00000000
ISSInterruptGSErrMask    = 0x00000000
ISSAllInterruptMask      = 0xffffffff
EXCMLevel = 3

TimerCount = 2
ISSTimerInterrupts = [ 5 6 ]

# Debug info for ISS
IsaUseDebug = 1
DebugInterruptLevel = 5

NewExceptionArch = 1
ExternalExceptionArch = 0

AXI = 1
AxiECC = 0
AceLite = 0

MPU = [
    # configured
    0
  ]


# MMU information (lots of it)!!!!
MMU = [
    # configured
    1
    # num of ASID bits, Kernel ASID, Invalid ASID
    0 0 0
    # num of rings
    1
    # num of SR bits
    0
    # what to do if no matches
    1
    # PTE entry size
    4
    # num of PTE pgsz
    1
    # num of memory attributes
    16
    # value of RASID on reset
    0x00000000
    # value of mmu config mask
    0x00010001
    # iaMask, iaConsts, daMask, daConsts
    0x00000000 0x00000000 0x00000000 0x00000000
    # PTE pgsz
    29
    # PTE pgsz encodings
    0
    # Fetch memory attributes map
    1 6 0 6 6 6 0 1 1 1 1 1 1 1 1 1
    # Load memory attributes map
    2 6 32 1 6 6 32 1 1 1 1 1 1 1 18 1
    # Store memory attributes map
    42 42 40 1 38 34 40 1 1 1 1 1 1 1 50 1
    # Pif memory attributes map
    48 176 0 176 496 240 16 0 0 0 0 0 0 0 0 0
  ]
ITlb = [
    # num of ways, num of VADDR bits, num of PADDR bits
    1 32 32
    # way 0
    # num of asid bits
    0
    # num of entries, SR bits, autorefill, num of pgsz
    8 0 0 1
    # VPN-MSB, VPN-LSB, num of const VPN values, num of reset VPN Values
    31 29 8 0
    # PPN-MSB, PPN-LSB, num of const PPN values, num of reset PPN Values
    0 0 0 8
    # num of ASID const values, num of ASID reset Values, num of memory attribute values, num of mem attribute reset values
    0 0 0 8
    # pgsz
    29
    # pgsz encodings
    0
    # stored VPNs
    0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    # reset PPNs
    0 536870912 1073741824 1610612736 2147483648 2684354560 3221225472 3758096384
    # memory attributes on reset
    2 2 2 2 2 2 2 2
   ]

DTlb = [
    # num of ways, num of VADDR bits, num of PADDR bits
    1 32 32
    # way 0
    # num of asid bits
    0
    # num of entries, SR bits, autorefill, num of pgsz
    8 0 0 1
    # VPN-MSB, VPN-LSB, num of const VPN values, num of reset VPN Values
    31 29 8 0
    # PPN-MSB, PPN-LSB, num of const PPN values, num of reset PPN Values
    0 0 0 8
    # num of ASID const values, num of ASID reset Values, num of memory attribute values, num of mem attribute reset values
    0 0 0 8
    # pgsz
    29
    # pgsz encodings
    0
    # stored VPNs
    0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    # reset PPNs
    0 536870912 1073741824 1610612736 2147483648 2684354560 3221225472 3758096384
    # memory attributes on reset
    2 2 2 2 2 2 2 2
   ]


# iDMA information
iDMA = 0
iDMATranspose = 0
iDMAPifBufDepth = 0
iDMAMaxOutstandingRows = 0

# GatherScatter information: 0 for regs implies that this isn't present
GatherScatter = 0
GS_GatherRegs =  0
GS_ScatterRegs = 0
GS_Unalign = 0
GS_ElementsPerCycle = 0

# Special locations used by ISS
SysUartPAddr = 0xffffffff
DVMagicLocVAddr = 0x80000000
DVMagicLocPAddr = 0x80000000
DVPrintfPAddr = 0x80000004
DVPrintfVAddr = 0x80000004
# Bus errors
BusAddressErrors = [ 0x7ffff000 0x7ffff108 0x7ffff210 0x7ffff318 0xbffff000 0xbffff100 0xbffff200 0xbffff300 ]
BusAddressErrorCount = 8
BusDataErrors = [ 0xbffff420 0xbffff528 0xbffff630 0xbffff738 0x7ffff420 0x7ffff528 0x7ffff630 0x7ffff738 ]
BusDataErrorCount = 8
BusErrorPattern = 0

# System information
SW_ABI = windowed
SW_FloatingPointABI = 0
SW_CLibrary = newlib
default-lsp = sim
alwaysPIC = 0
maxPageSize = 1
enableShared = 0
sysroot =
# for Linux:
#   default-lsp = linux
#   alwaysPIC = 1
#   maxPageSize = 536870912
#   enableShared = 1
#   sysroot = <sysroot directory>
BuildUniqueID = 464161
ConfigKey0 = 0x1FF249AA
ConfigKey1 = 0xC0C7413C

# File locations
# Note: Relative paths are relative to the location of the parameter file.
install-prefix = C:/././build/tree/RG-2017.5_kuma/tools/swtools-MSWin32-x86
config-prefix = C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960
xtensa-tools = C:/././usr/xtensa/tools-7.0
tc-tools = C:/././build/tree/RG-2017.5_kuma/tools/swtools-MSWin32-x86/TIE
isa-base-dlls = [
  C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libisa-core-hw.dll
  C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libisa-core.dll
]
ctype-base-dll = C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libctype.dll
iss-base-dll = C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libcas-core.dll
iss-ref-base-dll = C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libcas-ref-core.dll
iss-base-debug-dll = C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libcas-cored.dll
iss-ref-base-debug-dll = C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libcas-ref-cored.dll
fiss-base-dll = C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libfiss-base.dll
fiss-ref-base-dll = C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libfiss-ref-base.dll
xml-base-dll = C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libtie-core.dll
xml-msem-dll=C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/config/libtie-Xtensa-msem.dll
xtensa-base-header = C:/././build/build/RG-2017.5/ttiEng/vpawar/hifi3_hikey960/269583/RG-2017.5-win32/hifi3_hikey960/xtensa-elf/arch/include/xtensa/config/defs.h
tie-internal-module-headers = []

# TIE parameters
isa-tie-dll = 
iss-tie-dll = 
iss-ref-tie-dll = 
iss-tie-debug-dll = 
iss-ref-tie-debug-dll = 
xml-tie-dll = 
xtensa-tie-header = 
IsaUseWideBranches = 1
tie-checksum-0 = 0
tie-checksum-1 = 0
tie-checksum-2 = 0
tie-checksum-3 = 0
tie-includedir =
tie-ident = 0

# Register information
num_aregs = 64

# Pipeline stages
ISSPipeBStage = 1
ISSPipeEStage = 1
ISSPipeMStage = 2
ISSPipeWStage = 3
ISSArchLicense = 0

# Initial values for ISS rams
iss_irom_init_value  = 0x00000000
iss_iram_init_value  = 0x6c6cb6b6
iss_dram_init_value  = 0x01234567
iss_drom_init_value  = 0x00000000
iss_dport_init_value = 0x00000000
iss_uram_init_value  = 0x00000000

# Initial values for ISS caches 
iss_idata_init_value = 0xa5a5a5a5
iss_itag_init_value  = 0xabcdef00
iss_ddata_init_value = 0x1a2b3c4d
iss_dtag_init_value  = 0xbecada00

# System Ram and Rom parameters
ISSSysRomBytes = 0x01000000
ISSSysRomPAddr = 0xd0000000
ISSSysRamBytes = 0x10000000
ISSSysRamPAddr = 0xc0000000

# DV parameters
DV_DynVecBaseReset = 0xe8080400
DV_StaticVectorBase0 = 0xe8080000
DV_StaticVectorBase1 = 0xc0000000

