• No results found

Architectures, Processors, and Devices

N/A
N/A
Protected

Academic year: 2021

Share "Architectures, Processors, and Devices"

Copied!
12
0
0

Loading.... (view fulltext now)

Full text

(1)

Architectures, Processors, and Devices

Development Article

(2)

ii Copyright © 2009 ARM Limited. All rights reserved. ARM DHT 0001A

Non-Confidential Unrestricted Access

Architectures, Processors, and Devices

Development Article

Copyright © 2009 ARM Limited. All rights reserved.

Release Information

The following changes have been made to this book.

Proprietary Notice

Words and logos marked with

®

or

are registered trademarks or trademarks of ARM Limited in the EU and other countries, except as otherwise stated below in this proprietary notice. Other brands and names mentioned herein may be the trademarks of their respective owners.

Neither the whole nor any part of the information contained in, or the product described in, this document may be adapted or reproduced in any material form except with the prior written permission of the copyright holder.

The product described in this document is subject to continuous developments and improvements. All particulars of the product and its use contained in this document are given by ARM in good faith. However, all warranties implied or expressed, including but not limited to implied warranties of merchantability, or fitness for purpose, are excluded.

This document is intended only to assist the reader in the use of the product. ARM Limited shall not be liable for any loss or damage arising from the use of any information in this document, or any error or omission in such information, or any incorrect use of the product.

Where the term ARM is used it means “ARM or any of its subsidiaries as appropriate”.

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.

Unrestricted Access is an ARM internal classification.

Product Status

The information in this document is final, that is for a developed product.

Web Address http://www.arm.com

Change history

Date Issue Confidentiality Change

19 May 2009 A Non-Confidential Issue 1

(3)

Contents

Architectures, Processors, and Devices Development Article

Chapter 1 Architectures, Processors, and Devices

1.1 The ARM processor business model ... 1-2

1.2 Architecture ... 1-3

1.3 Processor ... 1-5

1.4 Device ... 1-6

1.5 Putting it all together ... 1-8

(4)

Contents

iv Copyright © 2009 ARM Limited. All rights reserved. ARM DHT 0001A

Non-Confidential Unrestricted Access

(5)

Chapter 1

Architectures, Processors, and Devices

This article introduces and explains the terms architecture, processor, and device as they apply to ARM-based systems. It contains the following sections:

The ARM processor business model on page 1-2

Architecture on page 1-3

Processor on page 1-5

Device on page 1-6

Putting it all together on page 1-8.

(6)

Architectures, Processors, and Devices

1-2 Copyright © 2009 ARM Limited. All rights reserved. ARM DHT 0001A

Non-Confidential Unrestricted Access

1.1 The ARM processor business model

ARM does not manufacture processor hardware. Instead, ARM creates microprocessor designs that are licensed to our customers, who integrate them into System-on-Chip (SoC) devices.

To guarantee interoperability and to provide a common programmers model between different implementations, ARM defines architecture specifications that define how ARM products must operate. Additionally, some partners license the right to implement their own ARM processors conforming to the architecture specifications. This leads to a hierarchical split into three levels of specifications which together describe the behavior and programmers model of the entire SoC:

Architecture An architecture defines behavior that is common to many processor designs.

Processor A processor is an implementation of an architecture, and can be integrated into several different designs.

Device A device contains a processor and additional components.

Developers who are new to this model can find it difficult to find information about system-level behavior. This is because the information can be divided between several documents:

• the architecture reference manual

• the processor technical reference manual

• the device documentation.

This article identifies the borders between these levels of specification, and where to

look for information.

(7)

Architectures, Processors, and Devices

1.2 Architecture

The ARM architecture defines how an ARM processor must operate. This includes:

• the programmers model

• the instruction set

• system configuration

• exception handling

• the memory model.

New versions of the architecture can introduce changes or additions to any of these features. These changes are normally backwards compatible, to simplify migration to new processors of more recent architectures.

Every version of the architecture specifies a number of system features and behaviors as implementation-defined. For example:

• how many levels of cache that are implemented, and their sizes

• all functionality provided by the Auxiliary Control Register

• effects of hint instructions.

An architecture can also define optional extensions, for example:

• floating point hardware support (VFP), introduced in ARMv6

• Advanced SIMD support (NEON), introduced in ARMv7.

Earlier versions of the ARM Architecture describe a common architecture, with different implementation choices. For example, a processor can be implemented with a Virtual Memory System Architecture (VMSA), based on a Memory Management Unit (MMU), or a Protected Memory System Architecture (PMSA), based on a Memory Protection Unit (MPU).

ARMv7 introduces the concept of Architecture profiles, defining versions of the architecture aimed at different types of processors for different market segments. The defined profiles are:

A The Application profile defines a VMSA based microprocessor architecture. It is targeted at high performance processors, capable of running full feature operating systems. It supports the ARM and Thumb instruction sets.

R The Real-time profile defines a PMSA based microprocessor

architecture. It is targeted at systems that require deterministic timing and

low interrupt latency. It supports the ARM and Thumb instruction sets.

(8)

Architectures, Processors, and Devices

1-4 Copyright © 2009 ARM Limited. All rights reserved. ARM DHT 0001A

Non-Confidential Unrestricted Access

M The Microcontroller profile provides low-latency interrupt processing accessible directly from high-level programming languages. It has a different exception handling model to the other profiles, implements a variant of the PMSA, and supports a variant of the Thumb instruction set only.

The ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition describes the ARMv7-A and ARMv7-R profiles. It also documents the differences between ARMv7 and:

• ARMv4

• ARMv5

• ARMv6

The ARMv7-M Architecture Reference Manual describes the ARMv7-M profile. The ARMv6-M Architecture Reference Manual describes the ARMv6-M profile, which implements a subset of the ARMv7-M profile and uses the same exception model.

These documents are available on request from http://infocenter.arm.com .

(9)

Architectures, Processors, and Devices

1.3 Processor

A processor is implemented to comply with a defined version of the architecture. For example, ARM926EJ-S

implements ARMv5 with the TEJ extensions, and

Cortex

-A9 implements ARMv7-A with the multiprocessing extensions.

The Technical Reference Manual (TRM) of a processor describes all the features and implementation choices for the processor that are implementation-defined in its architecture specification.

Typically, there are many different implementations of the same architecture version.

For example, the ARM7TDMI

and ARM920T

processors both implement ARMv4T, but the implementations differ in many ways.

Table 1-1 shows some recent ARM processors and the version and variant of the architecture they implement.

You can download ARM TRMs from http://infocenter.arm.com .

If ARM markets different versions of a processor, with and without functional extensions, it might provide separate TRMs for the processor and for the extensions. For example, the Cortex-A9 processor has separate TRMs for the:

• processor

• MPCore features

• Floating Point Unit

• NEON unit.

Contact the architecture implementer for documentation or support related to third-party implementations of the ARM architecture.

Table 1-1 Recent ARM processors and their architectures Implementation Architecture version Architecture variant

ARM11

MPCore

ARMv6 ARMv6K, Improved multiprocessing support

ARM1156T2F-S

ARMv6 ARMv6T2, Thumb-2 technology

ARM1176JZF-S

ARMv6 ARMv6Z, ARMv6K with Security Extensions

Cortex-A9 ARMv7-A

Cortex-R4 ARMv7-R

Cortex-M3 ARMv7-M

(10)

Architectures, Processors, and Devices

1-6 Copyright © 2009 ARM Limited. All rights reserved. ARM DHT 0001A

Non-Confidential Unrestricted Access

1.4 Device

A device is usually a SoC that incorporates an ARM processor and additional components. At the time of device implementation, options such as cache sizes, floating-point hardware support can be selected. This means that different devices based on the same ARM processor can have different cache sizes.

For example, a generic SoC might include several of the following components:

Level 2 Cache Controller (L2CC)

Static Memory Controller (SMC)

Dynamic Memory Controller (DMC)

• bus interconnect

• interrupt controller

• timer

• external bus interfaces.

Some components central to the functionality of your device can be completely unrelated to both the ARM architecture and the processor used. This means that information about how to configure these components can be found only from the device documentation.

Documentation for ARM Fabric components such as Primecell

®

peripherals or bus interconnect solutions is available from http://infocenter.arm.com .

Note

Information about what ARM processor is used in a specific device can be found in the device documentation. There are many devices based around for example the

ARM7TDMI processor, but they all have the same pipeline, instruction set and processor configuration registers.

Figure 1-1 on page 1-7 shows a block diagram of the ARM1176JZF-S development

chip, produced by ARM in collaboration with a semiconductor partner. This device is a

reference implementation, and is used on the ARM RealView

®

Platform Baseboard for

ARM1176JZF-S.

(11)

Architectures, Processors, and Devices

Figure 1-1 ARM1176JZF-S development chip block diagram ARM1176JZF-S Development Chip

GIC

CLCDC (PL110)

DMC (PL340)

IEM

SSMC (PL093)

DMAC (PL080)

CoreSight ETM11, DAP

Configurable AXI Interconnect (PL300) TZIC

(SP890)

JTAG

IEC (SY750) TZcontrol

(SP870) System Controller

(SP810)

RTC (PL031)

UART x4 (PL011) Watchdog

(SP805)

SSP1 (PL022)

GPIO (PL061) Dual Timer (SP804) x3 32KB I cache

32KB D cache

ARM1176JZF-S processor

AXI master port AXI slave

port ATB

Configuration, reset, PLL ratio and

clock select 8KB I TCM

8KB D TCM

16KB boot RAM 128KB unified

cache

512KB RAM L2CC

AXI-APB

Bridge

(12)

Architectures, Processors, and Devices

1-8 Copyright © 2009 ARM Limited. All rights reserved. ARM DHT 0001A

Non-Confidential Unrestricted Access

1.5 Putting it all together

When you design or develop your system, there might be three or more different sources of information that together describe the behavior of your ARM target. Depending on the nature of your question, you might have to combine two or more of these to cover all aspects of a specific behavior.

For example, if investigating a memory corruption problem on a target, you might have to combine information from documentation that describes:

• the architecture

• the ARM processor

• the device

• the bus interconnect used in the device

• the external cache controllers

• the memory controllers

• the memory devices.

Hopefully this article has helped in providing insight about where you are likely to find

answers to questions that arise from your ARM-based design.

References

Related documents

The projected gains over the years 2000 to 2040 in life and active life expectancies, and expected years of dependency at age 65for males and females, for alternatives I, II, and

In general, this equation, with or without some modification, applies to all other type of osmotic systems. Several simplifications in Rose-Nelson pump were made by Alza

In a series of 927 patients at up to 5 years the failure rate at endometrial resection was reduced from 22% to 13% by the addition of rollerball ablation to the cavity

Keywords: National Disaster Management Authority (NDMA), National Disaster Response Force (NDRF), National Institute of Disaster Management (NIDM), The International

The results suggest that agile development is now a mainstream software engi- neering practice, with approximately 50% of companies using it routinely in commercial

There is a great deal more work required to fully quantify the effect of this cure shrinkage; however these results clearly indicate that there is potentially sufficient

Perillo’s narrative is complex in that it at times does harm to disabled bodies through discounting them, yet it is a journey in which she redefines what it means to be in her

Promotions for kenya institute development studies courses to cater for learning is that offer business management through distance learning in havard institute of training