From WikiChip
ARM6 - Microarchitectures - ARM
< arm holdings(Redirected from arm6)

Edit Values
ARM4 µarch
General Info
Arch TypeCPU
DesignerARM Holdings, 1, 1, 1
ManufacturerVLSI Technology, GEC-Plessey Semiconductors, Sharp
Phase-out202p
Process0.8 µm
Core Configs1, 4, 6, 8
PE Configs2, 4, 6, 8
Pipeline
TypeScalar, Pipelined
Stages3
Stages12-1w
"w" can not be assigned to a declared number type with value 1.
Decode1-way
Instructions
ISAARMv3, ARMv6, ARMv4
Cache
L1 Cache4 KiB/core
64-way set associative
Succession
ARM6

ARM6 is an ARM microarchitecture designed by ARM Holdings and introduced in 1991 as a successor to the ARM3. This was the first design by ARM as an independent company after being spun-off from Acorn Computers.

History[edit]

See also: ARM's History

Following ARM's incorporation in November 1990 after being spun-off from Acorn Computers, ARM continued to develop the ARM microprocessor. In 1991 ARM introduced the ARM6 MacroCell, a substantial improvement over the previous ARM3 microarchitecture. The same year ARM signed with a number of additional licensees beyond VLSI Technology, including Sharp and GEC-Plessey.

The popularity of the ARM6 can be largely attributed to Apple's adaptation of the processor in their Newton PDAs.

Process Technology[edit]

See also: 0.8 µm process

The ARM6 was implemented on a 0.8 µm CMOS process.

Architecture[edit]

The ARM6 microarchitecture (MacroCell) was used for the ARM60, ARM600, and the ARM610. The ARM250 borrowed much of the architecture but used an ARM3 core instead. The various ARM6 improvements were heavily influenced directly by Apple's needs from their Newton PDA project.

Key changes from ARM3[edit]

  • 0.8 µm process (from 1.5 µm)
  • Support for Bi-Endian operations
  • 32-bit address space (from 26-bit)
    • Can map 4 GiB of memory
    • CPSR & SPSR moved out of the program counter
    • Their own separate registers
    • Backwards compatibility mode
      • 26-bit Mode
  • New Modes (6 new 32-bit modes)
    • Abort (abt)
    • Undefined (und)
  • Virtual memory
    • Integrated MMU
  • Write Buffer
  • Testability
    • JTAG Boundary Scan Interface

New instructions[edit]

New ARM6 instructions:

Movement:

  • MRS - Move from register to CPSR/SPSR
  • MSR - Move from CPSR/SPSR to register

Block Diagram[edit]

Entire Chip (610)[edit]

arm610 block diagram.svg

Core[edit]

arm6 block diagram.svg

Memory Hierarchy[edit]

  • Cache
    • L1 Cache (unified)
      • 4 KiB, 64-way set associative
      • 16 B line size
      • Write-through policy
      • Per core
  • System DRAM
    • Up to 4 GiB


  • TLB
    • 32 entries
    • 4 KiB small pages, 1 KiB sub pages
    • 64 KiB large pages, 16 KiB sub pages

Overview[edit]

See also: ARMv3

The ARM6 is a further evolutionary enhancement of the ARM3. The new chip integrated a number of highly desired features - particularly ones needed by Apple. The ARM6, departs from all the previous ARM chips by featuring a full 32-bit address and data buses. To facilitate the larger address space, ARM (previously Acorn) had to move the status flags from the program counter to its own independent register. In total, the ARM6 has 37 registers consisting of 31 32-bit general-purpose registers and 6 additional status registers.

Core[edit]

Pipeline[edit]

Main article: ARM2 Pipeline

ARM6's pipeline is identical to the ARM2.

Modes[edit]

With the introduction of a 32-bit bus, ARM needed to introduce modes that operate on the extended bus as well as maintain backwards compatibility. The four modes that existed in prior ARM architectures (i.e., User, IRQ, FIQ, and Supervisor) are now User26, IRQ26, FIQ26, and Supervisor26. To facilitate the 32-bit bus, ARM introduced a 32-bit variants of those modes User32, IRQ32, FIQ32, and Supervisor32. Additionally, two new modes Abort32 and Undefined32 were also introduced. Those only exist in 32-bit mode.

Backward Compatibility[edit]

Because the ARM6 core now features a full 32-bit address and data buses, it breaks compatibility with prior code. ARM addressed this problem by offering a compatibility mode. Two of the new control register bits are prog32 and data32 which can be set to change how the core behaves:

prog32data32 Mode Behavior
00 26-bit program and data space Forces the machine to operate in 26-bit programmer mode like the previous ARM architectures with things such as exceptions handled in appropriate 26-bit mode.
01 26 bit program and 32-bit data space This operations is similar to the one described above but disables address exceptions to allow data transfer operations to access the full 32-bit address space.
10 Undefined.
11 32-bit program and data space Normal ARM6 32-bit mode.

It's worth pointing out that when in 26-bit program space, only the four original modes (User, FIQ, IRQ, and Supervisor) are available and they behave in the same way as previous architectures in order to allow older programs to execute correctly.

Status Registers[edit]

ARM6 moved the status code into their own registers. There are now 6 individual status registers:

  • 1x CPSR (Current Processor Status Register)
  • 5x SPSR (Saved Program Status Registers)

CPSR which holds the current processor status features 4 condition codes (CC), 2 interrupt mask bits, and 5 processor mode bits. Those registers can only be accessed via the MRS/MSR instructions that move the data between the general-purpose registers and the status registers. It's worth pointing out that because the status bits are no longer in the program counter but in discrete registers, it's no longer possible to automatically save those bits on a branch and link instruction execution. Upon an exception, however, the CPSR gets copied over to the SPSR of the new mode allowing the exception handler to restore the state upon exit.

Cache[edit]

For the most part, the ARM6's Instruction and Data Cache (IDC) is identical to the ARM3 implementation. The IDC consists of 256 lines of 4 words each (i.e., 16 B) organized as 4 blocks of 64 lines for a 64-way set associative. The IDC operates on virtual addresses generated by the ARM6 core. Memory reads are done on whole lines.

The IDC is disabled on RESET and may be programmatically disabled or enabled via a control register. The Memory Management Page Tables also provide two bits for marking operation modes - Cacheable and Updateable. The Cacheable bit is used to specify if a certain address may be cached or not. For example, operations that require pulling I/O data need to be able to do so directly without retrieving invalidated data from the cache. The Updateable is further used to indicate that a memory write should immediately update with external memory to maintain consistency.

The ARM610 also incorporates a write buffer for additional performance. The buffer can store up to eight words and up to two addresses. As with the IDC, the write buffer may be enabled or disabled and is controlled via a Bufferable bit which can set whether a certain address space is bufferable allowing main memory to be buffered while I/O space to be unbuffered.

Memory Management Unit[edit]

By far the biggest addition to the ARM6 is the addition of an MMU which is in charge of translating virtual addresses into physical ones as well as control access permissions. The MMU is implemented using a 32-entry Translation Lookaside Buffer (TLB), access control logic, and translation table walking logic.

The MMU operates on sections comprised of 1 MiB blocks. Two page sizes are supported: 4 KiB small pages and 64 KiB large pages. Both taking up a single entry in the TLB. Each of the pages has a more granular access control which extend to 1 KiB sub-pages (on the small pages) and 16 KiB sub-pages (on the large pages). Upon a hit in the TLB, control logic is used to determine if the access is permitted. On denial, the MMU signals the core to abort. On a miss, the translation table walking logic is used to retrieve the translation information from a full translation table in physical memory. Entries are replaced cyclically.

When the MMU is disabled, such as during RESET, the virtual address is the physical address. Note that because the MMU stores the cache control bits (i.e., Cacheable, Updateable), for the chip to use the IDC, the MMU must also be enabled.

Four types of faults can be generated on the ARM6: Alignment Fault, Translation Fault, Domain Fault, Permission Fault. If the fault is a result of a memory access, the access is aborted and the appropriate signals are sent to the core. The core recognizes two abort types: data abort and prefetch abort which are handled separately by the MMU.

Die[edit]

ARM6 MacroCell[edit]

  • 3.1 mm x 1.9 mm
  • 5.89 mm² die size
  • 54 mW @ 20 MHz @ 3 Volt
  • 0.8 µm CMOS
  • 35,530 transistors

ARM610[edit]

  • 26.45 mm² die size
  • 358,931 transistors
  • TQFP-144

The ARM610 fabricated by GEC-Plessey, on a 0.8 µm process, reported to be 8.87 mm x 8.67 for a total die size of 76.9 mm².

All ARM6 Chips[edit]

 List of ARM6-based Processors
ModelManufacturerCoreLaunchedFrequencyPower DissipationMax Memory
VY86C060VLSI TechnologyARM60199320 MHz
0.02 GHz
20,000 kHz
, 25 MHz
0.025 GHz
25,000 kHz
4 GiB
4,096 MiB
4,194,304 KiB
4,294,967,296 B
0.00391 TiB
VY86C06020VLSI TechnologyARM60199420 MHz
0.02 GHz
20,000 kHz
4 GiB
4,096 MiB
4,194,304 KiB
4,294,967,296 B
0.00391 TiB
VY86C06040VLSI TechnologyARM60199440 MHz
0.04 GHz
40,000 kHz
4 GiB
4,096 MiB
4,194,304 KiB
4,294,967,296 B
0.00391 TiB
VY86C060AVLSI TechnologyARM60199433 MHz
0.033 GHz
33,000 kHz
4 GiB
4,096 MiB
4,194,304 KiB
4,294,967,296 B
0.00391 TiB
VY86C061VLSI TechnologyARM60199320 MHz
0.02 GHz
20,000 kHz
, 25 MHz
0.025 GHz
25,000 kHz
4 GiB
4,096 MiB
4,194,304 KiB
4,294,967,296 B
0.00391 TiB
VY86C610VLSI TechnologyARM610199320 MHz
0.02 GHz
20,000 kHz
, 25 MHz
0.025 GHz
25,000 kHz
4 GiB
4,096 MiB
4,194,304 KiB
4,294,967,296 B
0.00391 TiB
VY86C610CVLSI TechnologyARM61023 July 199433 MHz
0.033 GHz
33,000 kHz
0.5 W
500 mW
6.705e-4 hp
5.0e-4 kW
4 GiB
4,096 MiB
4,194,304 KiB
4,294,967,296 B
0.00391 TiB
Count: 7

References[edit]

  • Muller, Mike. "ARM6: a high performance low power consumption macrocell." Compcon Spring'93, Digest of Papers.. IEEE, 1993.
  • Licensees, Welcomes New. "ARM Semiconductor Welcomes New Licensees." Microelectronics Journal 24.7 (1993): 7.
codenameARM4 +
core count1 +, 4 +, 6 + and 8 +
designerARM Holdings + and 1 +
full page namearm holdings/microarchitectures/arm6 +
instance ofmicroarchitecture +
instruction set architectureARMv3 +, ARMv6 + and ARMv4 +
manufacturerVLSI Technology +, GEC-Plessey Semiconductors + and Sharp +
microarchitecture typeCPU +
nameARM4 +
phase-out0202 JL +
pipeline stages3 +
pipeline stages (min)12 +
process800 nm (0.8 μm, 8.0e-4 mm) +
processing element count2 +, 4 +, 6 + and 8 +