⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 peripherals.ami

📁 ARM ADS 程序示例(源码),coprotest.c,partest.c,interrupts.c
💻 AMI
字号:
;; ARMulator configuration file type 3
;; Copyright (c) 1996-2000 ARM Limited. All Rights Reserved.

;; RCS $Revision: 1.19.2.2 $
;; Checkin $Date: 2000/10/30 21:15:09 $
;; Revising $Author: dsinclai $


{ Peripherals
;; Entries in Peripherals do not immediately load models.
;; They describe models which may be used in Processors or PeripheralSets.
;; They may be used as named-instances or prototypes.

{Default_Millisec=Millisec
Range:Base=0x0bfffff0
}



{Default_Tube=Tube
Range:Base=0x0d800020
}

{Default_WatchDog=WatchDog
Waits=0
Range:Base=0xb0000000
KeyValue=0x12345678
WatchPeriod=0x80000
IRQPeriod=3000
IntNumber=16
StartOnReset=True
RunAfterBark=True
}

{Default_Intctrl=Intctrl
Waits=0
Range:Base=0x0a000000
}

{Default_Timer=Timer
Waits=0
Range:Base=0x0a800000
;Frequency of clock to controller.
CLK=20000000
;; Interrupt controller source bits - 4 and 5 as standard
IntOne=4
IntTwo=5
}

{Default_Pagetables=PageTables
MMU=Yes
AlignFaults=No
Cache=Yes
WriteBuffer=Yes
Prog32=Yes
Data32=Yes
LateAbort=Yes
;; We don't define BigEnd here, to allow the debugger its preference.
;; (i.e. to allow the WinRDI Configuration dialog to work.)
;;BigEnd=No
BranchPredict=Yes
ICache=Yes
HighExceptionVectors=No

PageTableBase=0xa0000000
DAC=0x00000001

;; Used by the 940 to control the clock mode. Use this flag
;; to configure the clock mode for the processor. If FastBus is enabled
;; fast bus mode will be used otherwise synchronous mode is used.
FastBus=No
; Don't turn these on until you have read an ARM966 manual, to avoid confusion.
; Normally you need code to initialise the contents of IRAM and DRAM.
IRAM=No
DRAM=No

{ Region[0]
VirtualBase=0
PhysicalBase=0
Size=4GB
Cacheable=No
Bufferable=No
Updateable=Yes
Domain=0
AccessPermissions=3
Translate=Yes
}

{ Region[1]
VirtualBase=0
PhysicalBase=0
Size=128Mb
Cacheable=Yes
Bufferable=Yes
Updateable=Yes
Domain=0
AccessPermissions=3
Translate=Yes
}


;End PT1
}


{Default_Semihost=Semihost
; Demon is only needed for validation.
DEMON=False
ANGEL=TRUE
AngelSWIARM=0x123456
AngelSWIThumb=0xab
; And the default memory map
HeapBase=0x00000000
HeapLimit=0x07000000
StackBase=0x08000000
StackLimit=0x07000000
}


{ Default_Tracer=Tracer
;; Output options - can be plaintext to file, binary to file or to RDI log
;; window. (Checked in the order RDILog, File, BinFile.)
;VERBOSE=True
;RDILog=True
RDILog=False
File=armul.trc
BinFile=armul.trc

;; Tracer options - what to trace
TraceInstructions=True
TraceRegisters=False

;;Normally True is useful, but sometimes it's too expensive.
TraceMemory=True
;TraceMemory=False

TraceIdle=False
TraceNonAccounted=False
TraceEvents=False
;;If there is a non-core bus, do we trace it (as well).
TraceBus=True
;TraceBus=False
;; Flags - disassemble instructions; start up with tracing enabled;
Disassemble=True
StartOn=False
}

;Profiler's main job is to accept a map of regions from the debugger
; and write out a list of counts for those regions 
; (sampled every microsecond, or every instruction).
;The debugger also starts and stops profiling over the RDI.

{ Default_Profiler=Profiler
;VERBOSE=False
;; For example - to profile the PC value when cache misses happen, set:
Type=Cycle
Event=0x00010001
EventWord=pc

;;Alternatives for Type are
;;  Event, Cycle, Microsecond.
;;If type is Event then alternatives for EventWord are
;;  Word1,Word2,PC.
}




;; This is instantiated inside processors which include this
;; coprocessor, e.g. ARM7TDMI, in armulate.dsc.
{ Default_DebugComms=DebugComms
Rate=76
ReadDelay=38
WriteDelay=108
MCCfg=15
; Whether RX and TX are wired up to IRQ/interrupt controller
IRQOnCommsChannel=False
; Interrupt priorities when using an interrupt controller
CommRXIRQNo=2
CommTXIRQNo=3
}

{ Default_Mapfile=Mapfile
CountWaitStates=False
AMBABusCounts=False
;SpotISCycles=True|False
SpotISCycles=True
;ISTiming=Late|Early|Speculative
ISTiming=Late
}




{ Default_StackUse=Stackuse
StackBase=0x80000000
StackLimit=0x70000000
}

{ Default_Parallel=Parallel
;; as per AppNote 32
Range:Base=0x123450
}

{ Default_Mycopro=Mycopro
}

{ Default_ProjectX=ProjectX
;; as per AppNote 32
;; NOTE: Addresses over 2GB do not read in properly
Range:Base=0x200000
}

;End Peripherals
}




;EOF peripherals.ami




⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -