3.4.41 ARMSC300CT

ARMSC300CT CPU component. This model is written in C++ and models version r0p1 of the RTL.

ARMSC300CT contains the following CADI targets:

  • ARM_SC300

ARMSC300CT contains the following MTI components:

Limitations

The model has the following limitations:

  • It does not implement any security features.
  • The Trash Register is implemented as RAZ/WI.
  • Only bit[0] of the Auxiliary Control Register is supported for read/write. No functionality is implemented.
  • The Security Features Control Register read/write access is supported using SECKEY. No functionality is implemented.

Implementation of ITM in M-class models

This model has a parameter that enables partial support for Instrumentation Trace Macrocell (ITM). In hardware or RTL, trace data from ITM is sent in packets to the trace block serially using a single pin or wire. In the model, if it is enabled, the ITM trace data is output using an MTI trace source called ITM. The ITM trace source has an ITM_PACKET_TYPE field. The following table shows which packet types the model supports:

Table 3-187 ITM_PACKET_TYPE field values that the model supports

Field value Description Supported by model
ITM_SYNC Synchronization packet Not supported.
ITM_P_OVERFLOW Protocol: Overflow packet Not supported.
ITM_P_LOCAL_TIMESTAMP Protocol: Local timestamp packets Not supported.
ITM_P_GLOBAL_TIMESTAMP Protocol: Global timestamp packets Not supported.
ITM_P_EXTEN Protocol: Extension packet Not supported.
ITM_S_INSTRUMENTATION Source: Instrumentation packet Supported.
ITM_S_DWT_EVENT_COUNTER Hardware source: Event counter wrapping Not supported.
ITM_S_DWT_EXCEPTION Hardware source: Exception tracing Supported.
ITM_S_DWT_PC_SAMPLING Hardware source: PC sampling Not supported.
ITM_S_DWT_DATA_PC_TRACE Hardware source: DWT Data trace PC value Supported.
ITM_S_DWT_DATA_ADDRESS_TRACE Hardware source: DWT Data trace address value Supported.
ITM_S_DWT_DATA_DATA_TRACE Hardware source: DWT Data trace DATA value Supported.

Table 3-188 Ports

Name Protocol Type Description
ahbd PVBus Slave Debug AHB - core bus slave driven by the DAP.
auxfault 2.7.4 Value protocol Slave This is wired to the Auxiliary Fault Status Register.
bigend 2.7.2 Signal protocol Slave Configure big endian data format.
clk_in ClockSignal Slave The clock signal connected to the clk_in port is used to determine the rate at which the core executes instructions.
currpri 2.7.4 Value protocol Master Current execution priority.
edbgrq 2.7.2 Signal protocol Slave External debug request.
event 2.7.2 Signal protocol Peer This peer port of event input (and output) is for wakeup from WFE and corresponds to the RTL TXEV and RXEV signals.
intisr[240] 2.7.2 Signal protocol Slave This signal array delivers signals to the NVIC.
intnmi 2.7.2 Signal protocol Slave Configure non maskable interrupt.
lockup 2.7.2 Signal protocol Master Asserted when the processor is in lockup state.
poreset 2.7.2 Signal protocol Slave Raising this signal will do a power-on reset of the core.
pv_ppbus_m PVBus Master The core will generate External Private Peripheral Bus requests on this port.
pvbus_m PVBus Master The core will generate bus requests on this port.
sleepdeep 2.7.2 Signal protocol Master Asserted when the processor is in deep sleep.
sleeping 2.7.2 Signal protocol Master Asserted when the processor is in sleep.
stcalib 2.7.4 Value protocol Slave This is the calibration value for the SysTick timer.
stclk ClockSignal Slave This is the reference clock for the SysTick timer.
sysreset 2.7.2 Signal protocol Slave Raising this signal will put the core into reset mode (but does not reset the debug logic).
sysresetreq 2.7.2 Signal protocol Master Asserted to indicate that a reset is required.
ticks 2.6.3 InstructionCount protocol Master Port allowing the number of instructions since startup to be read from the CPU.

Table 3-189 Parameters for ARM_SC300

Name Type Default value Description
BB_PRESENT bool 0x1 Enable bitbanding
BIGENDINIT bool 0x0 Initialize processor to big endian mode
DBGLVL int 0x3 0: No debug; 1: Minimal debug; 2: Full debug without DWT address matching; 3: Full debug support with DWT data-comparators
LVL_WIDTH int 0x3 Number of bits of interrupt priority
NUM_IRQ int 0x10 Number of user interrupts
NUM_MPU_REGION int 0x8 Number of MPU regions
TRACE_LVL bool 0x1 Level of instrumentation trace supported. false : No ITM trace included, true: ITM trace included
WIC bool 0x1 Include support for WIC-mode deep sleep
cpi_div int 0x1 divider for calculating CPI (Cycles Per Instruction)
cpi_mul int 0x1 multiplier for calculating CPI (Cycles Per Instruction)
master_id int 0x0 Master ID presented in bus transactions
min_sync_level int 0x0 force minimum syncLevel (0=off=default,1=syncState,2=postInsnIO,3=postInsnAll)
multicycle_interruption bool 0x0 Support interruption during multicycle instructions - LDM and STM
semihosting-Thumb_SVC int 0xab T32 SVC number for semihosting
semihosting-cmd_line string "" Command line available to semihosting SVC calls
semihosting-cwd string "" Base directory for semihosting file access.
semihosting-enable bool 0x1 Enable semihosting SVC traps. Applications that do not use semihosting must set this parameter to false.
semihosting-heap_base int 0x0 Virtual address of heap base
semihosting-heap_limit int 0x10700000 Virtual address of top of heap
semihosting-prefix bool 0x0 Prefix semihosting output with target instance name
semihosting-stack_base int 0x10700000 Virtual address of base of descending stack
semihosting-stack_limit int 0x10800000 Virtual address of stack limit
Non-ConfidentialPDF file icon PDF version100964_1161_00_en
Copyright © 2014–2019 Arm Limited or its affiliates. All rights reserved.