TriCore Instruction Set Architecture

From emmtrix Wiki
Jump to navigation Jump to search

TriCore™ is a unified, 32-bit microcontroller-DSP, single-core architecture optimized for real-time embedded systems. The ISA supports a uniform, 32-bit address space, with optional virtual addressing and memory-mapped I/O. The architecture allows for a wide range of implementations, ranging from scalar through to superscalar, and is capable of interacting with different system architectures, including multiprocessing. This flexibility at the implementation and system levels allows for different trade-offs between performance and cost at any point in time.

The architecture supports both 16-bit and 32-bit instruction formats. All instructions have a 32-bit format. The 16-bit instructions are a subset of the 32-bit instructions, chosen because of their frequency of use. These instructions significantly reduce code space, lowering memory requirements, system and power consumption.

Real-time responsiveness is largely determined by interrupt latency and context-switch time. The high-performance architecture minimizes interrupt latency by avoiding long multi-cycle instructions and by providing a flexible hardware-supported interrupt scheme. The architecture also supports fast-context switching.

History

Six chevrons along a timeline: AUDO 1 in 1999, AUDO NG in 2005, AUDO MAX in 2011, AURIX TC2x in 2014, TC3x in 2018 and TC4x in 2021
Evolution of TriCore families[1]

Infineon’s TriCore™ architecture, which underpins the AURIX™ family, has a lineage dating back to the late 1990s. The first TriCore™-based microcontrollers were introduced in 1999 as the Infineon AUDO family (Automotive unified processor), marking the debut of a 32-bit core unifying RISC, microcontroller, and DSP capabilities. Over the next decade, Infineon released several generations of TriCore™-based AUDO MCUs (with increasing performance and integration), establishing a strong presence in automotive powertrain control units. The major breakthrough came in 2012 when Infineon announced the AURIX™ family (the name AURIX™ being an acronym reflecting its automotive real-time focus) as the next evolution of TriCore™ micros. The first-generation AURIX™ (commonly referred to as AURIX TC2xx) featured up to three 32-bit TriCore™ CPUs at 200–300 MHz, with two of the cores optionally arranged in a lockstep pair for safety. These devices, manufactured on a 65 nm process, offered up to about 4–8 MB of flash memory and were among the first automotive MCUs to include a hardware security module for encryption. The AURIX™ TC2xx family quickly became a benchmark for automotive microcontrollers, combining high real-time performance with built-in safety and security, and saw adoption in various vehicle domains from engine management to chassis and ADAS.[2][3][4]

As of January 2022, Infineon has shipped over 845 million TriCore™ devices, including more than 320 million AURIX™ microcontrollers. TriCore™ has proven to be the trusted choice for the automotive industry, with total shipments expected to surpass 1 billion units by the end of 2022. The success story began in the powertrain domain and subsequently expanded to cover the entire automotive MCU market.[1]

The AURIX TC3xx (second-generation AURIX™) was announced in October 2016 as a major upgrade over the first generation, targeting the emerging needs of automated and electric vehicles. While maintaining software and pin compatibility with the TC2xx family, the TC3xx generation doubled the number of cores (scaling up to six TriCore™ cores) and moved to a smaller geometry 40 nm process to integrate larger memories and new peripherals. Key improvements introduced with TC3xx included: higher total processing performance (achieving 3× the real-time computing capability of its predecessor), increased on-chip flash (up to 16 MB) and SRAM (>6 MB) to accommodate the growing software in vehicles, a enhanced HSM with full EVITA support for cybersecurity, and new connectivity options like Gigabit Ethernet and more CAN FD channels to handle the data fusion requirements of ADAS. The TC3xx also introduced dedicated radar processing units (SPUs) to support level 2+ and level 3 autonomous driving systems that process radar sensor data on the MCU. Engineering samples of the flagship 300 MHz, 6-core TC39x became available in 2017, and the family entered volume production by 2019 once it achieved full automotive qualification. The seamless backward compatibility eased the migration for automakers and Tier-1 suppliers, allowing them to leverage existing AURIX™ TC2xx software and safety concepts on the more powerful TC3xx platform.[5][6][7]

The third generation, the AURIX TC4x family, was announced with first silicon on 5 January 2022. Built on a 28 nm process, it introduced the next-generation TriCore™ 1.8 core together with the Parallel Processing Unit (PPU), a SIMD vector DSP for AI topologies in uses as different as real-time control and radar post-processing, and it added high-speed interfaces: 5 Gbit Ethernet, PCI Express®, CAN-XL and 10BASE-T1S. Infineon positioned the family as an upward migration path from TC3x, with enough hardware and software compatibility for existing TC3x algorithms to be reused. The TC49x sampled at selected customers from that announcement, with the start of production scheduled for the second half of 2024.[8]

Infineon published the TC1.8 architecture manual on 14 February 2024, which made the TC4x instruction set documented and public.[9] In April 2024 the family passed a SAFE AI assessment by the Fraunhofer Institute for Cognitive Systems IKS, with Infineon describing the PPU as an ASIL-D compliant AI accelerator.[10] The first device of the family, the AURIX™ TC4Dx, launched on 6 November 2024 with six TriCore™ cores at 500 MHz, all in lockstep, and went to mass production in 2025.[11]

The line does not end with TriCore™. On 6 March 2025 Infineon announced that it would add a RISC-V based microcontroller family to the AURIX™ brand, extending a portfolio until then built on TriCore™ (the AURIX TC family) and Arm® (TRAVEO™ and PSOC™).[12] That family was introduced on 4 November 2026 as AURIX™ RC1, Infineon’s first microcontroller platform on RISC-V, bringing the AURIX™ and TRAVEO™ T2G lines together into one generation: up to twelve 32-bit cores, a parallel processing unit for edge AI and up to 40 MByte of embedded memory, with a lineup planned that adds 64-bit microprocessor capability. Samples are targeted for the first half of 2027.[13] RC1 complements the existing portfolio rather than replacing it, so TriCore™ and RISC-V are to be sold side by side under one brand. Throughout its history the architecture’s roadmap has been driven by the computational and safety demands of the vehicles it goes into, from single-core engine controllers to domain controllers for automated driving, while keeping the real-time determinism, safety and security the TriCore™ architecture was created for.[2]

As of January 2022, Infineon has shipped over 845 million TriCore™ devices, including more than 320 million AURIX™ microcontrollers. TriCore™ has proven to be the trusted choice for the automotive industry, with total shipments expected to surpass 1 billion units by the end of 2022. The success story began in the powertrain domain and subsequently expanded to cover the entire automotive MCU market.[1]

Versions

ISA Processors User Manual Date New Instructions
TC1.3 2002-05
TC1.3.1 TriCore™ Family AUDO MAX 2007-11
  • CACHEI.W, CACHEI.WI
  • FTOIZ, FTOQ31Z, FTOUZ (FPU Conversion Instructions)
TC1.6 Infineon AURIX TC2xx 2013-07
  • DISABLE, RESTORE, CACHEI.I (Interrupt and Data Cache manipulation)
  • DIV, DIV.U (Fast Integer Divide)
  • FCALL,FCALLA,FCALLI, FRET (fast call and return with minimal saving of state)
  • LD.BU, LD.B, LD.HU, LD.H, ST.B, ST.H, ST.A (Long offset addressing mode introduced for byte, half word and address accesses)
  • JEQ, JNE (Extended range of 16 bit jumps)
  • CMPSWAP.W, SWAPMSK.W (New Synchronization Instructions)
  • CRC32 (New CRC instruction)
  • WAIT (New wait for interrupt instruction)
TC1.6.2 Infineon AURIX TC3xx 2017-01
  • CRC32B.W, CRC32L.W, CRC32.B (CRC32 for big endian, little endian and byte data)
  • CRCN (arbitrary width and polynomial CRC calculation)
  • SHUFFLE (Reorder bytes within word)
  • POPCNT (count number of bits set in word)
  • FTOHP, HPTOF (Half precision floating point conversion)
  • LHA (Load high bits of address value)
TC1.8 Infineon AURIX TC4x 2024-02
  • ABS.DF, ADD.DF, CMP.DF, DIV.DF, MADD.DF, MAX.DF, MIN.DF, MSUB.DF, MUL.DF, NEG.DF, QSEED.DF, SUB.DF (Double precision floating point arithmetic)
  • DFTOF, DFTOI, DFTOIN, DFTOIZ, DFTOL, DFTOLZ, DFTOU, DFTOUL, DFTOULZ, DFTOUZ, FTODF, ITODF, LTODF, ULTODF, UTODF (Double precision floating point conversion)
  • ABS.F, FTOIN, MAX.F, MIN.F, NEG.F (Single precision floating point additions)
  • DIV64, DIV64.U, REM64, REM64.U (64-bit integer divide and remainder)
  • CACHEA.I.VM, CACHEA.W.VM, CACHEA.WI.VM, CACHEI.I.VM, CACHEI.W.VM, CACHEI.WI.VM, HVCALL, RFH (Virtualization)
  • MFDCR, MTDCR (Access to a core register pair)
  • MULP.B (Packed carry-less multiplication)
  • LD.DD, ST.DD (128-bit load and store)
  • LSYNC (Synchronize local data)
  • JRI (Jump relative indirect)
  • TRAPINV (Trap on invalid opcode)

Features

The key features of the TriCore™ Instruction Set Architecture (ISA) are:

  • 32-bit load store architecture
  • 4 Gbyte address range (232)
  • 16-bit and 32-bit instructions for reduced code size
  • Branch instructions using branch prediction
  • Zero overhead loop capabilities
  • Data types:
    • Boolean, integer with saturation, bit array, signed fraction, character, double-word integers, signed integer, unsigned integer, IEEE 754-2019 single-precision and double-precision floating point
  • Data formats:
    • Bit, byte (8-bits), half-word (16-bits), word (32-bits), double-word (64-bits)
  • Byte and bit addressing
  • Little-endian byte ordering for data, memory and CPU registers
  • Multiply and Accumulate (MAC) instructions: Dual 16 × 16, 16 × 32, 32 × 32
  • Saturation integer arithmetic
  • Packed data
  • Addressing modes:
    • Absolute, circular, bit reverse, long + short, base + offset with pre- and post-update
  • Instruction types:
    • Arithmetic, address arithmetic, comparison, address comparison, logical, MAC, shift, coprocessor, bit logical, branch, bit field, load/store, packed data, system
  • General Purpose Register Set (GPRS):
    • Sixteen 32-bit data registers
    • Sixteen 32-bit address registers
    • Three 32-bit status and program counter registers (PSW, PC, PCXI)
  • Debug support (OCDS):
    • Level 1, supported in conjunction with the CPS block
    • Level 3, supported in conjunction with the MCDS block (Emulation Device only).
  • Flexible memory protection system providing multiple protection sets with multiple protection ranges per set.
  • Temporal protection system allowing time bounded real time operation
  • Dedicated interface to application-specific coprocessors, allowing customized instructions to be added
  • Optional single-precision Floating-Point Unit (FPU), implemented as coprocessor 1
  • Optional double-precision Floating-Point Unit (FPU), implemented as coprocessor 2 (since TC1.8)
  • Optional Memory Management Unit (MMU) for page-based protection and virtual memory
  • Optional extension for real-time virtualization (since TC1.8)

[9]

Memory Model

The architecture addresses up to 4 GByte of unified program, data and I/O memory with a 32-bit address. That space is divided into 16 segments of 256 MByte each, and the upper four bits of an address select the segment. Byte ordering is little-endian, for memory and for CPU registers alike.[9]

Where an application needs virtual memory, an optional Memory Management Unit (MMU) adds a conventional page-based model in which each page carries its own access permissions. The design is deliberately unremarkable: a familiar MMU eases the porting of operating systems that expect one. Implementations without an MMU rely on the range-based scheme described under Protection System.[9]

Address Segments and Access Types

Each of the 16 segments is selectable as peripheral space, as cached memory or as non-cached memory, and cacheability is chosen independently for code fetches and for data accesses. The choice is made in the Programmable Memory Access registers PMA0, PMA1 and PMA2, so the memory map's behavior is configuration rather than wiring.[9]

Peripheral space is the strict one. Only Supervisor and User-1 mode data accesses reach it; a User-0 access raises an MPP trap and a code fetch a PSE trap. Everything there is non-cached and non-speculative, and neither context operations nor circular addressing are permitted. Cached and non-cached memory both allow the CPU to fetch code and read data speculatively; the architecture distinguishes the necessary accesses a correct execution must make from the speculative ones an implementation may add for performance.[9]

Scratchpad RAM

The architecture supports closely coupled SRAMs, separate for program and for data: the program scratchpad (PSPR) in segment CH and the data scratchpad (DSPR) in segment DH. Their size is implementation dependent, and an access beyond the memory an implementation provides may trap. In a multiprocessor system every CPU's DSPR and PSPR are reachable from the others through image regions in segments 0H to 7H.[9]

Alignment

Addresses loaded into or stored from an address register are always word-aligned. Data, by contrast, may sit on any half-word boundary whatever its size, and that is a deliberate concession to DSP code: two packed 16-bit or four packed 8-bit elements can be loaded or stored together wherever a half-word begins.[9]

Four rules qualify it. LD.B, LD.BU, ST.B and ST.T may be byte aligned. CMPSWAP.W, LDMST, SWAPMSK.W and SWAP.W need word-aligned operands, and so do LD.DD and ST.DD. Every access to peripheral space must be naturally aligned.[9]

Addressing Modes

Load and store instructions reach data elements of 8, 16, 32 and 64 bits - and of 128 bits (since TC1.8) - through seven addressing modes. They are chosen for what compiled C and DSP code actually does: records and local variables, sequential arrays, stacks, peripheral registers, and the two structures that gave TriCore™ its DSP reputation - circular buffers for filters and bit-reversed indexing for FFTs.[9]

Mode Address register use Typical use
Absolute none I/O peripheral registers and global data, through an 18-bit constant whose top four bits select the segment
Base + short offset address register record elements and local variables: a sign-extended 10-bit offset added to the base
Base + long offset address register a sign-extended 16-bit offset, on a subset of the memory operations, which puts any location in reach of a two-instruction sequence
Pre-increment address register pushing onto a stack; with a negative offset it is pre-decrement
Post-increment address register walking an array forward, or popping a stack; with a negative offset it is post-decrement
Circular address register pair filter buffers: the even register holds the base B, the odd register the index I and the length L, the effective address is B+I, and the buffer runs from B to B+L-1
Bit-reverse address register pair FFT results, which the usual implementation leaves in bit-reversed order

Modes the hardware does not provide are synthesized from short instruction sequences. One caveat is worth carrying into any hand-written assembly: where a load targets the same address register that the mode updates, as in ld.a a0, [a0+]4, the resulting register contents are not architecturally defined, and the same holds for a store whose source is the register being updated.[9]

Semaphores and Atomic Operations

Five instructions read and then write memory atomically, with the system guaranteeing that no other master changes the location in between: LDMST, SWAP.W, ST.T, CMPSWAP.W and SWAPMSK.W. LDMST writes selected bits through a mask but returns nothing, so it cannot serve as a test-and-set for a binary semaphore; SWAPMSK.W exists for that. Executing any of them forces the completion of every data access semantically ahead of it, so buffered state reaches memory first, and under memory protection the effective address must lie in a range that permits both reading and writing.[9]

Register Set

Architectural Registers

The architectural registers consist of:

  • 32 General Purpose Registers (GPRs)
    • 16 Address Registers
    • 16 Data Registers
  • Program Counter (PC)
  • Three 32-bit registers holding status flags, previous execution information and protection information: PSW, PCXI and PPRS (since TC1.8)
  • One 32-bit register holding the pointer to the head of the free Context Save Area list: FCX[9]

A 64-bit value occupies an even-odd pair of data registers, written E[8] for the concatenation of D[9] and D[8], and an extended address reference occupies an even-odd address register pair, written P[8] for A[9] and A[8]. A 128-bit value occupies a quad register: Q[4] is D[7], D[6], D[5] and D[4] together, with D[4] as the least significant word (since TC1.8). There are no separate floating-point registers - floating-point operations use the data registers, so floating-point state is saved and restored by the ordinary fast context switch.[9]

32-bit Architectural Registers
Address Register
A[15] Implicit Base Address
A[14]
A[13]
A[12]
A[11] Return Address
A[10] Stack Pointer (SP)
A[9] Global Address Register
A[8] Global Address Register
A[7]
A[6]
A[5]
A[4]
A[3]
A[2]
A[1] Global Address Register
A[0] Global Address Register
Data Register
D[15] Implicit Data
D[14]
D[13]
D[12]
D[11]
D[10]
D[9]
D[8]
D[7]
D[6]
D[5]
D[4]
D[3]
D[2]
D[1]
D[0]
System Register
FCX Free CSA List Head Pointer
PPRS (since TC1.8) Previous Protection Register Set
PCXI Previous Context Information
PSW Program Status Word
PC Program Counter

Special Registers

General Special Registers
PC Program Counter Register
CORECON (since TC1.8, SYSCON before) Core Control Register
CPU_ID CPU Identification Register (Read Only)
CORE_ID Core Identification Register
BOOTCON (since TC1.8) Boot Configuration Register
TCCON (since TC1.8) TriCore™ Core Configuration Register
SMACON SIST Mode Access Control Register
BIV Base Address of Interrupt Vector Table Register
BTV Base Address of Trap Vector Table Register
ISP Interrupt Stack Pointer Register
ICR ICU Interrupt Control Register
FCX Free Context List Head Pointer Register
PCX Previous Context Pointer Register
PPRS (since TC1.8) Previous Protection Register Set Register
LCX Free Context List Limit Pointer Register
COMPAT Compatibility Mode Register

Core Special Function Registers (CSFRs) are read with MFCR and written with MTCR. An implementation is not obliged to interlock such an update, so an ISYNC placed immediately after an MTCR is what makes the new value visible to the instructions that follow. MFDCR and MTDCR move a pair of consecutive, naturally aligned CSFRs in one instruction. (since TC1.8)[9]

Beyond those listed here, the architecture groups further CSFRs by function: interrupt, memory protection, trap, memory configuration, core performance counter, core debug controller, floating point and - with the virtualization extension - virtualization registers. Which of them an implementation provides, and what they contain, is in part implementation specific.[9]

Debug Registers
DBGSR Debug Status Register
EXEVT External Event Register
CREVT Core Register Event Register
SWEVT Software Event Register
TR0EVT Trigger Event 0 Register
TR0ADR Trigger Address 0 Register
⋮
TR7EVT Trigger Event 7 Register
TR7ADR Trigger Address 7 Register
TRIG_ACC Trigger Accumulator Register
DMS Debug Monitor Start Address Register
DCX Debug Context Save Address Register
TASK_ASI TASK Address Space Identifier Register
DBGTCR Debug Trap Control Register
CCTRL Counter Control Register
CCNT CPU Clock Count Register
ICNT Instruction Count Register
M1CNT Multi Count Register 1
M2CNT Multi Count Register 2
M3CNT Multi Count Register 3
Floating Point Registers
FPU_TRAP_CON Trap Control Register
FPU_TRAP_PC Trapping Instruction Program Control Register
FPU_TRAP_OPC Trapping Instruction Opcode Register
FPU_TRAP_SRC1 Trapping Instruction SRC1 Operand Register
FPU_TRAP_SRC2 Trapping Instruction SRC2 Operand Register
FPU_TRAP_SRC3 Trapping Instruction SRC3 Operand Register

Instructions Set

Pipeline

Acronym Pipeline
LS Load/Store
IP Integer Pipeline
FPU Floating Point Unit

Classes

Class Pipeline Description Example
Arithmetic LS Arithmetic operations involving addresses. ADD.A, ADDIH.A
Arithmetic IP Arithmetic operations involving integers. ADD, SUB
Cache LS Cache management operations. CACHEA.W, CACHEA.WI
Compare IP Comparison operations. EQ, GE
Control Flow LS Control flow instructions for branching. J, JNE.A
Control Flow IP Control flow operations for branching. JEQ, JLT
Coprocessor 0 IP Special operations using coprocessor 0. CRC32.B, IXMAX
Count IP Counting bits in registers. CLO, CLZ
CSA Control Flow LS Context Save Areas (CSA) control flow instructions CALL, BISR
Extract IP Bit field extraction and manipulation. DEXTR, INS.T
Floating Point FPU Floating-point instructions ADDF, SUBF
Integer Divide IP Integer division operations. DIV, DVSTEP
Load LS Load data from memory. LD.A, LDUCX
Logical IP Bitwise logical operations. AND, OR
Move LS Move data between registers. MOV.A, MOV.AA
Move IP Move operations with conditions. CMOV, MOV
Multiply IP Multiplication operations. MUL, MULS
Multiply Accumulate IP Multiply and accumulate operations. MADD, MSUB
Shift IP Bit shift operations. SH, SHA
Store LS Store data to memory. ST.A, ST.B
Sync LS Synchronization operations. DSYNC, ISYNC
Trap and Interrupt LS Interrupt and trap operations. DEBUG, TRAPV
Virtualization LS Operations that only exist, or behave differently, when virtualization is present and enabled. HVCALL, RFH

Instruction List

The list covers every instruction in the TriCore™ TC1.8 architecture manual. ISA Version names the version that introduced the instruction; an empty cell means it has been part of the architecture since TC1.3.

Pipeline Class Mnemonic Longname ISA Version
LS Arithmetic ADD.A Add Address
LS Arithmetic ADDIH.A Add Immediate High to Address
LS Arithmetic ADDSC.A Add Scaled Index to Address
LS Arithmetic ADDSC.AT Add Bit-Scaled Index to Address
LS CSA Control Flow BISR Begin Interrupt Service Routine
LS Cache CACHEA.I Cache Address, Invalidate
LS Cache CACHEA.W Cache Address, Writeback TC1.3.1
LS Cache CACHEA.WI Cache Address, Writeback and Invalidate TC1.3.1
LS Cache CACHEI.I Cache Index, Invalidate TC1.6
LS Cache CACHEI.W Cache Index, Writeback
LS Cache CACHEI.WI Cache Index, Writeback, Invalidate
LS CSA Control Flow CALL Call
LS CSA Control Flow CALLA Call Absolute
LS CSA Control Flow CALLI Call Indirect
LS Load CMPSWAP.W Compare and Swap TC1.6
LS Trap and Interrupt DEBUG Debug
LS Trap and Interrupt DISABLE Disable Interrupts TC1.6
LS Sync DSYNC Synchronize Data
LS Trap and Interrupt ENABLE Enable Interrupts
LS Arithmetic EQ.A Equal to Address
LS Arithmetic EQZ.A Equal Zero Address
LS CSA Control Flow FCALL Fast Call TC1.6
LS CSA Control Flow FCALLA Fast Call Absolute TC1.6
LS CSA Control Flow FCALLI Fast Call Indirect TC1.6
LS CSA Control Flow FRET Return from Fast Call TC1.6
LS Arithmetic GE.A Greater Than or Equal Address
LS Sync ISYNC Synchronize Instructions
LS Control Flow J Jump Unconditional
LS Control Flow JA Jump Unconditional Absolute
LS Control Flow JEQ.A Jump if Equal Address
LS Control Flow JI Jump Indirect
LS Control Flow JL Jump and Link
LS Control Flow JLA Jump and Link Absolute
LS Control Flow JLI Jump and Link Indirect
LS Control Flow JNE.A Jump if Not Equal Address
LS Control Flow JNZ.A Jump if Not Equal to Zero Address
LS Control Flow JRI Jump Relative Indirect TC1.8
LS Control Flow JZ.A Jump if Zero Address
LS Load LD.A Load Word to Address Register
LS Load LD.B Load Byte TC1.6*
LS Load LD.BU Load Byte Unsigned TC1.6*
LS Load LD.D Load Double-word
LS Load LD.DA Load Double-word to Address Register
LS Load LD.DD Load Double Double-word TC1.8
LS Load LD.H Load Half-word TC1.6*
LS Load LD.HU Load Half-word Unsigned TC1.6*
LS Load LD.Q Load Half-word Signed Fraction
LS Load LD.W Load Word
LS Load LDLCX Load Lower Context
LS Store LDMST Load-Modify-Store
LS Load LDUCX Load Upper Context
LS Load LEA Load Effective Address
LS Load LHA Load High Address TC1.6.2
LS Control Flow LOOP Loop
LS Control Flow LOOPU Loop Unconditional
LS Sync LSYNC Synchronize Local Data TC1.8
LS Arithmetic LT.A Less Than Address
LS Move MFCR Move From Core Register
LS Move MOV.A Move Value to Address Register
LS Move MOV.AA Move Address from Address Register
LS Move MOV.D Move Address to Data Register
LS Move MOVH.A Move High to Address
LS Move MTCR Move To Core Register
LS Arithmetic NE.A Not Equal Address
LS Arithmetic NEZ.A Not Equal Zero Address
LS Arithmetic NOP No Operation
LS Trap and Interrupt RESTORE Restore TC1.6
LS CSA Control Flow RET Return from Call
LS CSA Control Flow RFE Return From Exception
LS CSA Control Flow RFM Return From Monitor
LS CSA Control Flow RSLCX Restore Lower Context
LS Store ST.A Store Word from Address Register TC1.6*
LS Store ST.B Store Byte TC1.6*
LS Store ST.D Store Double-word
LS Store ST.DA Store Double-word from Address Registers
LS Store ST.DD Store Double Double TC1.8
LS Store ST.H Store Half-word TC1.6*
LS Store ST.Q Store Half-word Signed Fraction
LS Store ST.T Store Bit
LS Store ST.W Store Word
LS Store STLCX Store Lower Context
LS Store STUCX Store Upper Context
LS Arithmetic SUB.A Subtract Address
LS CSA Control Flow SVLCX Save Lower Context
LS Load SWAP.W Swap with Data Register
LS Load SWAPMSK.W Swap under Mask TC1.6
LS CSA Control Flow SYSCALL System Call
LS Trap and Interrupt TRAPSV Trap on Sticky Overflow
LS Trap and Interrupt TRAPV Trap on Overflow
LS Trap and Interrupt WAIT Wait TC1.6
LS Virtualization CACHEA.I.VM Cache Address, Invalidate Virtual Machine entry TC1.8
LS Virtualization CACHEA.W.VM Cache Address, Writeback Virtual Machine entry TC1.8
LS Virtualization CACHEA.WI.VM Cache Address, Writeback and Invalidate Virtual Machine entry TC1.8
LS Virtualization CACHEI.I.VM Cache Index, Invalidate Virtual Machine entry TC1.8
LS Virtualization CACHEI.W.VM Cache Index, Writeback Virtual Machine entry TC1.8
LS Virtualization CACHEI.WI.VM Cache Index, Writeback, Invalidate Virtual Machine entry TC1.8
LS Virtualization HVCALL Hypervisor Call TC1.8
LS Virtualization RFH Return From Hypervisor TC1.8
IP Arithmetic ABS Absolute Value
IP Arithmetic ABS.B Absolute Value Packed Byte
IP Arithmetic ABS.H Absolute Value Packed Half-word
IP Arithmetic ABSDIF Absolute Value of Difference
IP Arithmetic ABSDIF.B Absolute Value of Difference Packed Byte
IP Arithmetic ABSDIF.H Absolute Value of Difference Packed Half-word
IP Arithmetic ABSDIFS Absolute Value of Difference with Saturation
IP Arithmetic ABSDIFS.H Absolute Value of Difference Packed Half-word with Saturation
IP Arithmetic ABSS Absolute Value with Saturation
IP Arithmetic ABSS.H Absolute Value Packed Half-word with Saturation
IP Arithmetic ADD Add
IP Arithmetic ADD.B Add Packed Byte
IP Arithmetic ADD.H Add Packed Half-word
IP Arithmetic ADDC Add with Carry
IP Arithmetic ADDI Add Immediate
IP Arithmetic ADDIH Add Immediate High
IP Arithmetic ADDS Add with Saturation
IP Arithmetic ADDS.H Add Packed Half-word with Saturation
IP Arithmetic ADDS.HU Add Unsigned Packed Half-word with Saturation
IP Arithmetic ADDS.U Add Unsigned with Saturation
IP Arithmetic ADDX Add Extended
IP Logical AND Bitwise AND
IP Logical AND.AND.T Accumulating Bit Logical AND-AND
IP Logical AND.ANDN.T Accumulating Bit Logical AND-AND-Not
IP Logical AND.NOR.T Accumulating Bit Logical AND-NOR
IP Logical AND.OR.T Accumulating Bit Logical AND-OR
IP Logical AND.EQ Equal, AND Accumulating
IP Logical AND.GE Greater Than or Equal, AND Accumulating
IP Logical AND.GE.U Greater Than or Equal, AND Accumulating Unsigned
IP Logical AND.LT Less Than, AND Accumulating
IP Logical AND.LT.U Less Than, AND Accumulating Unsigned
IP Logical AND.NE Not Equal, AND Accumulating
IP Logical AND.T Bit Logical AND
IP Logical ANDN Bitwise AND-Not
IP Logical ANDN.T Bit Logical AND-Not
IP Coprocessor 0 BMERGE Bit Merge
IP Coprocessor 0 BSPLIT Bit Split
IP Arithmetic CADD Conditional Add
IP Arithmetic CADDN Conditional Add-Not
IP Count CLO Count Leading Ones
IP Count CLO.H Count Leading Ones in Packed Half-words
IP Count CLS Count Leading Signs
IP Count CLS.H Count Leading Signs in Packed Half-words
IP Count CLZ Count Leading Zeros
IP Count CLZ.H Count Leading Zeros in Packed Half-words
IP Move CMOV Conditional Move (16-bit)
IP Move CMOVN Conditional Move-Not (16-bit)
IP Coprocessor 0 CRC32.B CRC32 Byte TC1.6.2
IP Coprocessor 0 CRC32B.W CRC32 (TC1.6) CRC32 Word Big-Endian TC1.6
IP Coprocessor 0 CRC32L.W CRC32 Word Little-Endian TC1.6.2
IP Coprocessor 0 CRCN User-Defined CRC TC1.6.2
IP Arithmetic CSUB Conditional Subtract
IP Arithmetic CSUBN Conditional Subtract-Not
IP Extract DEXTR Extract from Double Register
IP Integer Divide DVADJ Divide-Adjust
IP Integer Divide DIV Divide TC1.6
IP Integer Divide DIV64 Divide 64-bit Long TC1.8
IP Integer Divide DIV.U Divide Unsigned TC1.6
IP Integer Divide DIV64.U Divide 64-bit Unsigned Long TC1.8
IP Integer Divide DVINIT Divide-Initialization Word
IP Integer Divide DVINIT.U Divide-Initialization Word Unsigned
IP Integer Divide DVINIT.B Divide-Initialization Byte
IP Integer Divide DVINIT.BU Divide-Initialization Byte Unsigned
IP Integer Divide DVINIT.H Divide-Initialization Half-word
IP Integer Divide DVINIT.HU Divide-Initialization Half-word Unsigned
IP Integer Divide DVSTEP Divide-Step
IP Integer Divide DVSTEP.U Divide-Step Unsigned
IP Compare EQ Equal
IP Compare EQ.B Equal Packed Byte
IP Compare EQ.H Equal Packed Half-word
IP Compare EQ.W Equal Packed Word
IP Compare EQANY.B Equal Any Byte
IP Compare EQANY.H Equal Any Half-word
IP Extract EXTR Extract Bit Field
IP Extract EXTR.U Extract Bit Field Unsigned
IP Compare GE Greater Than or Equal
IP Compare GE.U Greater Than or Equal Unsigned
IP Extract IMASK Insert Mask
IP Extract INS.T Insert Bit
IP Extract INSN.T Insert Bit-Not
IP Extract INSERT Insert Bit Field
IP Coprocessor 0 IXMAX Find Maximum Index
IP Coprocessor 0 IXMAX.U Find Maximum Index Unsigned
IP Coprocessor 0 IXMIN Find Minimum Index
IP Coprocessor 0 IXMIN.U Find Minimum Index Unsigned
IP Control Flow JEQ Jump if Equal TC1.6*
IP Control Flow JGE Jump if Greater Than or Equal
IP Control Flow JGE.U Jump if Greater Than or Equal Unsigned
IP Control Flow JGEZ Jump if Greater Than or Equal to Zero (16-bit)
IP Control Flow JGTZ Jump if Greater Than Zero (16-bit)
IP Control Flow JLEZ Jump if Less Than or Equal to Zero (16-bit)
IP Control Flow JLT Jump if Less Than
IP Control Flow JLT.U Jump if Less Than Unsigned
IP Control Flow JLTZ Jump if Less Than Zero (16-bit)
IP Control Flow JNE Jump if Not Equal TC1.6*
IP Control Flow JNED Jump if Not Equal and Decrement
IP Control Flow JNEI Jump if Not Equal and Increment
IP Control Flow JNZ Jump if Not Equal to Zero (16-bit)
IP Control Flow JNZ.T Jump if Not Equal to Zero Bit
IP Control Flow JZ Jump if Zero (16-bit)
IP Control Flow JZ.T Jump if Zero Bit
IP Compare LT Less Than
IP Compare LT.U Less Than Unsigned
IP Compare LT.B Less Than Packed Byte
IP Compare LT.BU Less Than Packed Byte Unsigned
IP Compare LT.H Less Than Packed Half-word
IP Compare LT.HU Less Than Packed Half-word Unsigned
IP Compare LT.W Less Than Packed Word
IP Compare LT.WU Less Than Packed Word Unsigned
IP Multiply Accumulate MADD Multiply-Add
IP Multiply Accumulate MADDS Multiply-Add, Saturated
IP Multiply Accumulate MADD.H Packed Multiply-Add Q Format
IP Multiply Accumulate MADDS.H Packed Multiply-Add Q Format, Saturated
IP Multiply Accumulate MADD.Q Multiply-Add Q Format
IP Multiply Accumulate MADDS.Q Multiply-Add Q Format, Saturated
IP Multiply Accumulate MADD.U Multiply-Add Unsigned
IP Multiply Accumulate MADDS.U Multiply-Add Unsigned, Saturated
IP Multiply Accumulate MADDM.H Packed Multiply-Add Q Format Multi-precision
IP Multiply Accumulate MADDMS.H Packed Multiply-Add Q Format Multi-precision, Saturated
IP Multiply Accumulate MADDR.H Packed Multiply-Add Q Format with Rounding
IP Multiply Accumulate MADDRS.H Packed Multiply-Add Q Format with Rounding, Saturated
IP Multiply Accumulate MADDR.Q Multiply-Add Q Format with Rounding
IP Multiply Accumulate MADDRS.Q Multiply-Add Q Format with Rounding, Saturated
IP Multiply Accumulate MADDSU.H Packed Multiply-Add/Subtract Q Format
IP Multiply Accumulate MADDSUS.H Packed Multiply-Add/Subtract Q Format Saturated
IP Multiply Accumulate MADDSUM.H Packed Multiply-Add/Subtract Q Format Multi-precision
IP Multiply Accumulate MADDSUMS.H Packed Multiply-Add/Subtract Q Format Multi-precision Saturated
IP Multiply Accumulate MADDSUR.H Packed Multiply-Add/Subtract Q Format with Rounding
IP Multiply Accumulate MADDSURS.H Packed Multiply-Add/Subtract Q Format with Rounding Saturated
IP Arithmetic MAX Maximum Value
IP Arithmetic MAX.U Maximum Value Unsigned
IP Arithmetic MAX.B Maximum Value Packed Byte
IP Arithmetic MAX.BU Maximum Value Packed Byte Unsigned
IP Arithmetic MAX.H Maximum Value Packed Half-word
IP Arithmetic MAX.HU Maximum Value Packed Half-word Unsigned
IP Move MFDCR Move From Core Register Pair TC1.8
IP Arithmetic MIN Minimum Value
IP Arithmetic MIN.U Minimum Value Unsigned
IP Arithmetic MIN.B Minimum Value Packed Byte
IP Arithmetic MIN.BU Minimum Value Packed Byte Unsigned
IP Arithmetic MIN.H Minimum Value Packed Half-word
IP Arithmetic MIN.HU Minimum Value Packed Half-word Unsigned
IP Move MOV Move
IP Move MOV.U Move Unsigned
IP Move MOVH Move High
IP Multiply Accumulate MSUB Multiply-Subtract
IP Multiply Accumulate MSUBS Multiply-Subtract, Saturated
IP Multiply Accumulate MSUB.H Packed Multiply-Subtract Q Format
IP Multiply Accumulate MSUBS.H Packed Multiply-Subtract Q Format, Saturated
IP Multiply Accumulate MSUB.Q Multiply-Subtract Q Format
IP Multiply Accumulate MSUBS.Q Multiply-Subtract Q Format, Saturated
IP Multiply Accumulate MSUB.U Multiply-Subtract Unsigned
IP Multiply Accumulate MSUBS.U Multiply-Subtract Unsigned, Saturated
IP Multiply Accumulate MSUBAD.H Packed Multiply-Subtract/Add Q Format
IP Multiply Accumulate MSUBADS.H Packed Multiply-Subtract/Add Q Format, Saturated
IP Multiply Accumulate MSUBADM.H Packed Multiply-Subtract/Add Q Format-Multi-precision
IP Multiply Accumulate MSUBADMS.H Packed Multiply-Subtract/Add Q Format-Multi-precision, Saturated
IP Multiply Accumulate MSUBADR.H Packed Multiply-Subtract/Add Q Format with Rounding
IP Multiply Accumulate MSUBADRS.H Packed Multiply-Subtract/Add Q Format with Rounding, Saturated
IP Multiply Accumulate MSUBM.H Packed Multiply-Subtract Q Format-Multi-precision
IP Multiply Accumulate MSUBMS.H Packed Multiply-Subtract Q Format-Multi-precision, Saturated
IP Multiply Accumulate MSUBR.H Packed Multiply-Subtract Q Format with Rounding
IP Multiply Accumulate MSUBRS.H Packed Multiply-Subtract Q Format with Rounding, Saturated
IP Multiply Accumulate MSUBR.Q Multiply-Subtract Q Format with Rounding
IP Multiply Accumulate MSUBRS.Q Multiply-Subtract Q Format with Rounding, Saturated
IP Move MTDCR Move to Core Register Pair TC1.8
IP Multiply MUL Multiply
IP Multiply MULS Multiply, Saturated
IP Multiply MUL.H Packed Multiply Q Format
IP Multiply MUL.Q Multiply Q Format
IP Multiply MUL.U Multiply Unsigned
IP Multiply MULS.U Multiply Unsigned, Saturated
IP Multiply MULM.H Packed Multiply Q Format-Multi-precision
IP Multiply MULP.B Packed carry-less multiplication TC1.8
IP Multiply MULR.H Packed Multiply Q Format with Rounding
IP Multiply MULR.Q Multiply Q Format with Rounding
IP Logical NAND Bitwise NAND
IP Logical NAND.T Bit Logical NAND
IP Compare NE Not Equal
IP Logical NOR Bitwise NOR
IP Logical NOR.T Bit Logical NOR
IP Logical NOT Bitwise Complement NOT (16-bit)
IP Logical OR Bitwise OR
IP Logical OR.AND.T Accumulating Bit Logical OR-AND
IP Logical OR.ANDN.T Accumulating Bit Logical OR-AND-Not
IP Logical OR.NOR.T Accumulating Bit Logical OR-NOR
IP Logical OR.OR.T Accumulating Bit Logical OR-OR
IP Logical OR.EQ Equal, OR Accumulating
IP Logical OR.GE Greater Than or Equal, OR Accumulating
IP Logical OR.GE.U Greater Than or Equal, OR Accumulating Unsigned
IP Logical OR.LT Less Than, OR Accumulating
IP Logical OR.LT.U Less Than, OR Accumulating Unsigned
IP Logical OR.NE Not Equal, OR Accumulating
IP Logical OR.T Bit Logical OR
IP Logical ORN Bitwise OR-Not
IP Logical ORN.T Bit Logical OR-Not
IP Coprocessor 0 PACK Pack
IP Coprocessor 0 PARITY Parity
IP Count POPCNT.W Population Count Word TC1.6.2
IP Integer Divide REM64 Remainder 64-bit Long TC1.8
IP Integer Divide REM64.U Remainder 64-bit Unsigned Long TC1.8
IP Trap and Interrupt RSTV Reset Overflow Bits
IP Arithmetic RSUB Reverse-Subtract
IP Arithmetic RSUBS Reverse-Subtract with Saturation
IP Arithmetic RSUBS.U Reverse-Subtract Unsigned with Saturation
IP Arithmetic SAT.B Saturate Byte
IP Arithmetic SAT.BU Saturate Byte Unsigned
IP Arithmetic SAT.H Saturate Half-word
IP Arithmetic SAT.HU Saturate Half-word Unsigned
IP Arithmetic SEL Select
IP Arithmetic SELN Select-Not
IP Shift SH Shift
IP Shift SH.EQ Shift Equal
IP Shift SH.GE Shift Greater Than or Equal
IP Shift SH.GE.U Shift Greater Than or Equal Unsigned
IP Shift SH.H Shift Packed Half-words
IP Shift SH.LT Shift Less Than
IP Shift SH.LT.U Shift Less Than Unsigned
IP Shift SH.NE Shift Not Equal
IP Shift SH.AND.T Accumulating Shift-AND
IP Shift SH.ANDN.T Accumulating Shift-AND-Not
IP Shift SH.NAND.T Accumulating Shift-NAND
IP Shift SH.NOR.T Accumulating Shift-NOR
IP Shift SH.OR.T Accumulating Shift-OR
IP Shift SH.ORN.T Accumulating Shift-OR-Not
IP Shift SH.XNOR.T Accumulating Shift-XNOR
IP Shift SH.XOR.T Accumulating Shift-XOR
IP Shift SHA Arithmetic Shift
IP Shift SHA.H Arithmetic Shift Packed Half-words
IP Shift SHAS Arithmetic Shift with Saturation
IP Arithmetic SHUFFLE Byte Shuffle TC1.6.2
IP Arithmetic SUB Subtract
IP Arithmetic SUB.B Subtract Packed Byte
IP Arithmetic SUB.H Subtract Packed Half-word
IP Arithmetic SUBC Subtract With Carry
IP Arithmetic SUBS Subtract with Saturation
IP Arithmetic SUBS.U Subtract Unsigned with Saturation
IP Arithmetic SUBS.H Subtract Packed Half-word with Saturation
IP Arithmetic SUBS.HU Subtract Packed Half-word Unsigned with Saturation
IP Arithmetic SUBX Subtract Extended
IP Trap and Interrupt TRAPINV Trap Invalid Opcode TC1.8
IP Coprocessor 0 UNPACK Unpack Floating Point
IP Logical XNOR Bitwise XNOR
IP Logical XNOR.T Bit Logical XNOR
IP Logical XOR Bitwise XOR
IP Logical XOR.EQ Equal, XOR Accumulating
IP Logical XOR.GE Greater Than or Equal, XOR Accumulating
IP Logical XOR.GE.U Greater Than or Equal, XOR Accumulating Unsigned
IP Logical XOR.LT Less Than, XOR Accumulating
IP Logical XOR.LT.U Less Than, XOR Accumulating Unsigned
IP Logical XOR.NE Not Equal, XOR Accumulating
IP Logical XOR.T Bit Logical XOR
FPU Floating Point ABS.F Absolute Value Float TC1.8
FPU Floating Point ADD.F Add Float
FPU Floating Point CMP.F Compare Float
FPU Floating Point DIV.F Divide Float
FPU Floating Point FTOHP Single Precision to Half Precision TC1.6.2
FPU Floating Point FTOI Float to Integer
FPU Floating Point FTOIN Float to Integer, Round to Nearest TC1.8
FPU Floating Point FTOIZ Float to Integer, Round towards Zero TC1.3.1
FPU Floating Point FTOQ31 Float to Fraction
FPU Floating Point FTOQ31Z Float to Fraction, Round towards Zero TC1.3.1
FPU Floating Point FTOU Float to Unsigned
FPU Floating Point FTOUZ Float to Unsigned, Round towards Zero TC1.3.1
FPU Floating Point HPTOF Half Precision to Single Precision TC1.6.2
FPU Floating Point ITOF Integer to Float
FPU Floating Point MADD.F Multiply Add Float
FPU Floating Point MAX.F Maximum Value Float TC1.8
FPU Floating Point MIN.F Minimum Value Float TC1.8
FPU Floating Point MSUB.F Multiply Subtract Float
FPU Floating Point MUL.F Multiply Float
FPU Floating Point NEG.F Negate Value Float TC1.8
FPU Floating Point Q31TOF Fraction to Floating-point
FPU Floating Point QSEED.F Inverse Square Root Seed
FPU Floating Point SUB.F Subtract Float
FPU Floating Point UPDFL Update Flags
FPU Floating Point UTOF Unsigned to Floating-point
FPU Floating Point ABS.DF Absolute Value Double TC1.8
FPU Floating Point ADD.DF Add Double TC1.8
FPU Floating Point CMP.DF Compare Double TC1.8
FPU Floating Point DFTOF Double Precision to Single Precision TC1.8
FPU Floating Point DFTOI Double to Integer TC1.8
FPU Floating Point DFTOIN Double to Integer, Round to Nearest TC1.8
FPU Floating Point DFTOIZ Double to Integer, Round towards Zero TC1.8
FPU Floating Point DFTOL Double to Long Integer TC1.8
FPU Floating Point DFTOLZ Double to Long Integer, Round towards Zero TC1.8
FPU Floating Point DFTOU Double to Unsigned TC1.8
FPU Floating Point DFTOUL Double to Unsigned Long TC1.8
FPU Floating Point DFTOULZ Double to Unsigned Long Integer, Round towards Zero TC1.8
FPU Floating Point DFTOUZ Double to Unsigned, Round towards Zero TC1.8
FPU Floating Point DIV.DF Divide Double TC1.8
FPU Floating Point FTODF Single Precision to Double Precision TC1.8
FPU Floating Point ITODF Integer to Double TC1.8
FPU Floating Point LTODF Long Integer to Double TC1.8
FPU Floating Point MADD.DF Multiply Add Double TC1.8
FPU Floating Point MAX.DF Maximum Value Double TC1.8
FPU Floating Point MIN.DF Minimum Value Double TC1.8
FPU Floating Point MSUB.DF Multiply Subtract Double TC1.8
FPU Floating Point MUL.DF Multiply Double TC1.8
FPU Floating Point NEG.DF Negate Value Double TC1.8
FPU Floating Point QSEED.DF Inverse Square Root Seed TC1.8
FPU Floating Point SUB.DF Subtract Double TC1.8
FPU Floating Point ULTODF Unsigned Long Integer to Double TC1.8
FPU Floating Point UTODF Unsigned to Double TC1.8

Tasks and Contexts

A task is an independent thread of control, and the architecture distinguishes two kinds. Software Managed Tasks are created through a real-time kernel or RTOS and dispatched by scheduling software; Interrupt Service Routines (ISRs) are dispatched by hardware when an interrupt arrives. Each task runs in a mode, selected by the I/O mode bits in the Program Status Word:[9]

  • User-0 Mode for tasks that do not access peripherals. It cannot enable or disable interrupts.
  • User-1 Mode for tasks that access common, unprotected peripherals - reading a timer, writing a serial port, reading I/O status registers. Such a task may disable interrupts for a short period.
  • Supervisor Mode with read and write access to system registers and all peripherals, and the right to disable interrupts or change the CPU's interrupt priority.
  • Hypervisor Mode with access to the virtualization registers, where the virtualization extension is implemented. (since TC1.8)

The point of User-1 Mode is that application code can reach non-critical peripherals without the whole system having to run in Supervisor Mode.[9]

Everything the processor needs in order to resume a task is that task's context: the general purpose registers it uses, its Program Counter, and its program status information in PCXI and PSW. The context is split in two. The lower context holds A[2] to A[7] and D[0] to D[7]; the upper context holds A[10] to A[15] and D[8] to D[15]. A[0], A[1], A[8] and A[9] are system global registers belonging to neither half, so they are not saved or restored across calls and interrupts and are normally left to the operating system.[9]

Context is held in Context Save Areas (CSAs). A CSA is 16 words of memory aligned on a 16-word boundary, it holds exactly one upper or one lower context, and CSAs are chained through a link word. The free ones form a linked list whose head is in FCX and whose limit is in LCX, so taking or releasing an area is a pointer update rather than a block copy. This is where the short interrupt latency and context-switch time come from, and the same mechanism serves all four events that break program execution: service requests, traps, function calls, and - with virtualization - hypervisor traps.[9]

Interrupt System

Interrupt arbitration is built around programmable Service Request Nodes (SRNs). A service request is a hardware indication that an interrupt service routine needs to run; the system routes it to a CPU or to another interrupt service provider such as a DMA, and, where virtualization is implemented, to a particular virtual machine. Requests can come from an on-chip peripheral, from external hardware or from software.[9]

Conventional architectures service a request by loading a new program status from a vector table in data memory. TriCore™ instead jumps to a vector in code memory, where each interrupt source has its own block of entry code, which is what keeps the response time short. The table's base address is in BIV, and an ISR may span several vector entries where one block is not enough.[9]

Requests are prioritized, and prioritization is what makes nesting possible:[9]

  • a request may interrupt the servicing of a lower-priority one
  • sources of equal priority cannot interrupt each other
  • the system's interrupt routing unit presents the CPU with the highest-priority request currently targeting it

Every request carries a Service Request Priority Number (SRPN) and every ISR has its own priority number; two requests must not share one. Priorities are assigned by software rather than wired to sources, and there are up to 255 of them, so a system can be arranged with one priority level serving 255 sources, with 255 levels of one source each, or anywhere in between.[9]

Trap System

A trap is raised by an event such as a non-maskable interrupt, an instruction exception, a timing exception or an illegal access. There are eight trap classes, each with its own block of entry code in a vector based at BTV, and each trap carries a Trap Identification Number (TIN) that identifies its cause within the class. When a trap is taken the TIN arrives in D[15]. Traps are further classified as synchronous or asynchronous and as hardware or software, and some are unrecoverable.[9]

Class Name Examples
0 MMU traps VAF (virtual address fill), VAP (virtual address protection)
1 Internal protection traps PRIV (privileged instruction), MPR, MPW, MPX (memory protection read, write, execute)
2 Instruction errors IOPC (illegal opcode), UOPC (unimplemented opcode), OPD (invalid operand), ALN (data address alignment)
3 Context management
4 System bus and peripheral errors TAE (temporal asynchronous exception, TIN 7)
5 Assertion traps
6 System call
7 Non-maskable interrupt

Class 0 is reserved for the MMU traps, so it is only populated in implementations that include the optional Memory Management Unit; the architecture overview accordingly lists that class as reserved.[9]

The entry address of a trap service routine is formed by shifting the trap class number left by five bits and ORing it with BTV, which spaces the entries eight words apart. A handler short enough may live entirely inside its entry; anything longer jumps from there to the rest of itself. Unlike interrupt vector entries, trap vector entries cannot be spanned. BTV is ENDINIT protected and is written with MTCR during initialization, which also makes it possible to keep several trap vector tables and switch between them.[9]

Protection System

The architecture targets safety-critical embedded systems, and its protection system is meant to keep core functionality safe from software errors in less critical tasks and to keep unauthorized tasks away from critical peripherals. It also helps during development, by trapping errors that would otherwise surface long after their cause. Four subsystems make it up: the trap system, the I/O privilege level described under Tasks and Contexts, the memory protection system, and the temporal protection system.[9]

Memory Protection

Range-based memory protection works on protection ranges. A range is a contiguous part of the address space given by a lower and an upper boundary, and an address belongs to it when lower boundary ≤ address < upper boundary. Data ranges govern data read and write access; code ranges govern instruction fetch. How many of each an implementation provides is its own choice, at least four and at most 32, and the boundaries are granular to 8 bytes for data ranges and 32 bytes for code ranges - the low-order bits of the boundary registers are not writable and read back as zero.[9]

A protection set is a complete set of access permissions for the address space in use: which code and data ranges it names, and what each of them permits. An implementation provides at most eight sets, each comprising a code set and a data set, so changing set is how a task switch changes what memory the running code can reach.[9]

Temporal Protection

Temporal protection guards against run-time overrun. It consists of three independent 32-bit down-counters, enabled through the TPROTEN bit in CORECON. A counter starts when a non-zero value is written to its TPS_TIMERx register and decrements once per CPU clock cycle; on the decrement from one to zero it raises a Temporal Asynchronous Exception - trap class 4, TIN 7 - and sets the matching TEXPx flag in TPS_CON. The flags are arranged so that a timeout arriving while another one is being handled is not lost.[9]

Memory Integrity

A memory integrity error is either correctable or uncorrectable, the line being whether the hardware can still hand the core the data it asked for. Correctable errors are divided again: resolved if the correction is also written back over the faulty data in memory, unresolved if the core gets the right value but the memory keeps the wrong one.[9]

An uncorrectable error raises a trap, and which one depends on what was being read: a PIE (program memory integrity error) trap, class 4 TIN 5, for an instruction fetch from local memory, and a DIE (data memory integrity error) trap, class 4 TIN 6, for a data access. The PIE trap is synchronous to the erroneous instruction but hardware need not narrow the error down to one instruction within the fetch group. How errors are detected at all is left to the implementation, as are the PIETR and DIETR registers that report where the last one came from.[9]

Floating Point Unit

The FPU is optional, and TC1.8 defines two of them, reached through the coprocessor interface: coprocessor 1 for single precision and coprocessor 2 for double precision (since TC1.8). Both implement IEEE 754-2019 arithmetic: add, subtract, multiply, multiply-accumulate and divide; conversion between floating-point numbers and TriCore™ signed and unsigned integers and 32-bit signed fractions in Q31 format; comparison; and all four IEEE 754-2019 rounding modes. QSEED.F and QSEED.DF return an approximation intended as the starting value for a Newton-Raphson square-root iteration. Traps can be raised on selected IEEE 754-2019 exceptions, asynchronously on results and synchronously on input operands.[9]

Two limits are worth knowing before relying on it. Single-precision subnormal numbers are not supported in arithmetic operations, so full IEEE 754-2019 compliance cannot be reached with FPU instructions alone and needs software alongside them. And a multiply-accumulate rounds only once, at the end, so its result can differ from a separate multiply followed by a separate addition.[9]

Virtualization

The optional real-time virtualization extension supports a hypervisor together with one real-time virtual machine and up to six further guests. (since TC1.8) Virtual machines are numbered VM0 to VM7, where VM0 is an alias for the hypervisor and VM1 to VM7 are the guests it hosts.[9]

Architectural state is replicated so that several virtual machines can be resident at once, and switching between a guest and the hypervisor uses the same CSA mechanism as an ordinary context switch - which is what keeps the overhead low enough to call the extension real-time. A second-level memory protection unit keeps guests from interfering with one another, the hypervisor has its own trap vector table separate from the normal one, and the interrupt mechanism can deliver a request to a named virtual machine.[9]

The instructions that come with the extension appear in the instruction list under the Virtualization class: HVCALL and RFH for entering and leaving the hypervisor, and six cache maintenance instructions whose mnemonics end in .VM.[14]

Performance Measurement

The core can measure its own behavior without disturbing it, which is the point for real-time software: basic parameters such as CPU clocks, instruction count, and instruction and data cache hits and misses, the latter separated into clean and dirty. Which parameters an implementation actually offers is its own business, and only a subset can be gathered at once.[9]

The counters are controlled through the CCTRL register, enabled with its CE bit, and may be written only while disabled. They can free-run to collect aggregate figures, or be driven by the debug event logic so that they open and close around one task - which turns an aggregate into a measurement of the thing one wanted to measure.[9]

Debug Support

The Core Debug Controller (CDC) is built for non-intrusive debugging of real-time systems: most of the architectural state in the core and in core-local memory is reachable through the system address map rather than by stopping the processor to ask it. Access normally comes through the On-Chip Debug Support (OCDS) of the system around the CPU, and four signals connect the two - core break-in and break-out for conditions of interest in either direction, and suspend-in and suspend-out for entering and reporting Halt mode.[9]

What it offers is real-time run control, meaning halting and restarting the CPU; reading and updating internal registers and core-local memory; and breakpoints and watchpoints with complex trigger conditions. It is switched on by the Debug Enable bit in the Debug Status Register, DBGSR.DE, with the core said to be in debug mode while that bit is set. The manual notes that debug mechanisms may differ between architecture generations, which is not something it says about the rest of the architecture.[9]

Comparison with Other Microcontroller Architectures

In the automotive and industrial MCU landscape, Infineon’s TriCore™/AURIX™ architecture stands alongside other major architectures such as ARM Cortex-based microcontrollers, Power Architecture (PowerPC) based controllers, and more recently RISC-V based designs. Architecturally, TriCore’s™ niche is its unified MCU/DSP design and native multicore safety support. In contrast, many competitors historically used separate cores or accelerators for DSP tasks (for example, ARM’s Cortex-M4/M7 cores include a DSP instruction set, but earlier automotive designs often combined a CPU with a separate DSP or relied on fixed-function accelerators). TriCore™ was one of the first to meld DSP capabilities into a general-purpose controller core[15], giving it an edge in signal-processing-heavy automotive tasks like ignition control or motor control. Moreover, AURIX™ introduced multi-core lockstep and distributed memory protection at a time when many automotive MCU competitors were still single-core or dual-core. For instance, Texas Instruments’ Hercules safety microcontrollers use dual ARM Cortex-R4 cores in lockstep to achieve similar fault-detection as AURIX’s™ lockstep pairs, and NXP (Freescale)’s older PowerPC-based MCUs implemented lockstep on a single core pair. AURIX’s™ approach with up to three lockstep pairs (in a 2oo3 or 1oo2D configuration) on one chip was relatively unique, enabling higher ASIL-D performance within one device[16]. In terms of raw performance, the figures the vendors publish are close enough that the choice rarely turns on them. A TriCore™ in the TC3xx generation runs at up to 300 MHz and the TC4Dx at 500 MHz with six cores in lockstep;[11] Renesas gives the RH850/U2A up to four 400 MHz cores in lockstep and the U2C up to two at 320 MHz;[17][18] NXP's Cortex-R52 based S32S24 ran four lockstep pairs at 800 MHz.[19] Per-megahertz comparisons between them depend on the benchmark and on the memory system around the core at least as much as on the instruction set, so they are best taken from a measurement of the intended workload rather than from a published ratio. What does compare directly is core count: the TC3xx hexa-core design puts more lockstep-capable cores on one part than most of its dual- and triple-core contemporaries did.

When comparing security features, Infineon’s decision to include a high-grade HSM on AURIX™ gave it a head start in automotive cybersecurity. ARM’s TrustZone technology (available on some Cortex-M35/M33 and higher cores) provides a form of security partitioning, but it’s not directly equivalent to a full HSM with its own CPU and crypto engine. Many automotive MCU vendors (like NXP and ST) have since incorporated dedicated security modules or accelerators in their ARM-based designs, but AURIX’s™ HSM (with EVITA High compliance) remains a standout for handling features like onboard encryption, secure boot, and even V2X cryptography without external chips[20]. On the other hand, the broader ecosystem for software and tools tends to favor ARM. ARM Cortex-based microcontrollers benefit from widespread compiler support, development tools, and a large developer community. Infineon’s TriCore™, being proprietary, has a more specialized toolchain (with commercial compilers from Tasking, HighTec, etc., and a smaller community), which can mean a higher barrier to entry for new developers. However, automotive Tier-1 suppliers have invested in TriCore™ toolchains for years, and Infineon provides AUTOSAR libraries and MCAL drivers that ease development in the automotive context[21].

In terms of industry adoption, TriCore™/AURIX™ has become one of the dominant architectures in European automotive electronics, often chosen for its safety and performance in powertrain and safety domains, while ARM-based microcontrollers have gained popularity especially in body electronics and new ECU designs due to their flexibility and the ARM ecosystem. Historically, high-end automotive MCUs were based on PowerPC cores (like NXP/Freescale MPC5xx/MPC55xx) or proprietary cores like Renesas V850/RH850. Infineon’s AURIX™ emerged as a strong competitor to these, offering a new option with multicore and DSP advantages. By the mid-2010s, ARM made inroads into this space (TI’s TMS570/Hercules with Cortex-R4, and later NXP and Renesas adopting ARM Cortex-R/M for some families), but many automotive OEMs continued to trust established platforms. A 2013 analysis noted that PowerPC was dominant, with Infineon’s TriCore™ and Renesas’s V850 as big competitors, and ARM as a “latest entrant” in the automotive MCU arena. Since then, ARM cores have seen increasing use in automotive for domains like gateways and ADAS (e.g., NVIDIA and Mobileye use ARM in their SoCs, and some microcontroller families like Cypress Traveo and NXP S32K are ARM-based), but AURIX™ maintains a significant share in high safety integrity applications.[22]

Looking forward, the rise of RISC-V open architecture presents both a competition and an opportunity. Infineon itself has announced that it will introduce a new AURIX™ family branch that includes RISC-V cores alongside TriCore™[23]. This reflects a trend toward heterogeneous architectures: pairing a proven safety-critical core (TriCore™) with supplementary cores that can be optimized for tasks like AI acceleration or network management. RISC-V’s open ecosystem could bring more developers and third-party IP into the fold, potentially addressing the ecosystem gap between TriCore™ and ARM. Other companies are also exploring RISC-V for automotive; for example, Western Digital and GreenWaves have automotive-oriented RISC-V processors, and some start-ups are aiming for ASIL-rated RISC-V cores. As of the TC4x generation, AURIX’s™ competition is a mix rather than a single camp. Renesas has stayed with cores of its own in the RH850/U2x series - G4MH in the U2A, G4KH in the U2C, both described by Renesas as proprietary - while NXP builds on Arm: the Cortex-R52 based S32S is no longer manufactured, and the R52 parts NXP sells today are the S32Z and S32E real-time processors.[17][18][19] Behind both sit the last of the PowerPC-based units. In summary, AURIX’s™ TriCore™ architecture distinguishes itself with a laser focus on automotive needs – blending real-time control, DSP, built-in redundancy, and security in one package – whereas ARM architectures offer a broad general-purpose approach with wide support, and RISC-V is emerging as a flexible, open alternative. Each has its strengths: AURIX™ for integrated safety/security, ARM for its ubiquity and IP ecosystem, and RISC-V for customizability. Infineon’s strategy indicates a recognition that future architectures may combine these strengths to meet the ever-growing demands of software-defined vehicles[23].

See Also

External Links

References

  1. ↑ 1.0 1.1 1.2 Welcome to the next generation AURIX™ TC4x, Thomas Boehm, Senior Vice President Automotive Microcontroller, 12 January 2022, https://web.archive.org/web/20240701054802/https://www.infineon.com/dgdl/Infineon_AURIX_TC4x.pdf?fileId=8ac78c8b7e4b5364017e4e1a407c0001
  2. ↑ 2.0 2.1 History of TriCore™ - Infineon Technologies https://www.infineon.com/cms/en/product/promopages/historyoftricore/
  3. ↑ Safety Joins Performance: Infineon Introduces Automotive Multicore 32-bit Microcontroller Family AURIX™ to Meet Safety and Powertrain Requirements of Upcoming Vehicle Generations - Infineon Technologies https://www.infineon.com/cms/en/about-infineon/press/market-news/2012/INFATV201205-040.html
  4. ↑ Safety Microcontrollers: Texas Instruments Hercules vs Infineon AURIX https://www.linkedin.com/pulse/safety-microcontrollers-texas-instruments-hercules-vs-cook-meng-miet
  5. ↑ AURIX™ microcontroller TC3xx family of Infineon fuels automated driving and electromobility - Infineon Technologies https://web.archive.org/web/20250617173423/https://www.infineon.com/cms/en/about-infineon/press/market-news/2016/INFATV201610-005.html
  6. ↑ 32-bit TriCore™ AURIX™– TC3xx - Infineon Technologies https://www.infineon.com/cms/en/product/microcontroller/32-bit-tricore-microcontroller/32-bit-tricore-aurix-tc3xx/
  7. ↑ UDE Debug, Trace and Test solutions for Infineon TriCore™ AURIX™ TC32, TC33, TC35, TC36, TC37, TC38, TC39, TC3x Microcontrollers https://www.pls-mc.com/products/infineon-tricore-aurix-tc32-tc33-tc35-tc36-tc37-tc38-tc39-microcontrollers/
  8. ↑ First silicon available: Infineon further strengthens leading position as automotive semiconductor supplier with next-generation AURIX™ TC4x, Infineon Technologies, 5 January 2022 https://www.infineon.com/technology-news/2022/infatv202201-038
  9. ↑ 9.00 9.01 9.02 9.03 9.04 9.05 9.06 9.07 9.08 9.09 9.10 9.11 9.12 9.13 9.14 9.15 9.16 9.17 9.18 9.19 9.20 9.21 9.22 9.23 9.24 9.25 9.26 9.27 9.28 9.29 9.30 9.31 9.32 9.33 9.34 9.35 9.36 9.37 9.38 9.39 9.40 TriCore™ TC1.8 architecture manual volume 1 - Core architecture, V1.0.0, 14 February 2024, Infineon Technologies https://www.infineon.com/assets/row/public/documents/10/44/infineon-infineon-tricore-tc1.8-architecture-usermanual-en.pdf
  10. ↑ AURIX™ TC4x microcontrollers for embedded AI application development receive safety assessment from Fraunhofer IKS, Infineon Technologies, 10 April 2024 https://www.infineon.com/technology-news/2024/infatv202404-093
  11. ↑ 11.0 11.1 New high-performance microcontroller: Infineon launches AURIX™ TC4Dx, Infineon Technologies, 6 November 2024 https://www.infineon.com/technology-news/2024/infatv202411-018
  12. ↑ Infineon brings RISC-V to the automotive industry and is first to announce an automotive RISC-V microcontroller family, Infineon Technologies, 6 March 2025 https://www.infineon.com/press-release/2025/infatv202503-067
  13. ↑ Infineon redefines real-time compute and control for software-defined vehicles and Physical AI with new AURIX™ RC1, Infineon Technologies, 4 November 2026 https://www.infineon.com/press-release/2026/infpr202611-026
  14. ↑ TriCore™ TC1.8 architecture manual volume 2 - Instruction Set, V1.0.0, 14 February 2024, Infineon Technologies https://www.infineon.com/assets/row/public/documents/10/44/infineon-tricore-tc1.8-architecture-volume2-usermanual-en.pdf
  15. ↑ 32-bit TriCore™ AURIX™– TC3xx - Infineon Technologies https://www.infineon.com/cms/en/product/microcontroller/32-bit-tricore-microcontroller/32-bit-tricore-aurix-tc3xx/
  16. ↑ Safety Microcontrollers: Texas Instruments Hercules vs Infineon AURIX https://www.linkedin.com/pulse/safety-microcontrollers-texas-instruments-hercules-vs-cook-meng-miet
  17. ↑ 17.0 17.1 RH850/U2A - Renesas Electronics https://www.renesas.com/en/products/rh850-u2a
  18. ↑ 18.0 18.1 RH850/U2C - Renesas Electronics https://www.renesas.com/en/products/rh850-u2c
  19. ↑ 19.0 19.1 S32S24 for Automotive Safety Applications, NXP Semiconductors, listed as no longer manufactured https://www.nxp.com/products/no-longer-manufactured/s32s-microcontrollers-for-safe-vehicle-dynamics:S32S24
  20. ↑ UDE Debug, Trace and Test solutions for Infineon TriCore™ AURIX™ TC32, TC33, TC35, TC36, TC37, TC38, TC39, TC3x Microcontrollers https://www.pls-mc.com/products/infineon-tricore-aurix-tc32-tc33-tc35-tc36-tc37-tc38-tc39-microcontrollers/
  21. ↑ Infineon's AURIX™ & TRAVEO™ microcontroller families extend their support for IEC 61508 hardware and software metrics enabling industrial safety up to SIL-3 - Infineon Technologies https://www.infineon.com/cms/en/about-infineon/press/market-news/2023/INFATV202303-078.html
  22. ↑ Automotive world: PowerPC vs ARM vs V850 vs SH - Page 1 https://www.eevblog.com/forum/microcontrollers/automotive-world-powerpc-vs-arm-vs-v850-vs-sh/
  23. ↑ 23.0 23.1 Infineon brings RISC-V to the automotive industry and is first to announce an automotive RISC-V microcontroller family – RISC-V International https://riscv.org/ecosystem-news/2025/03/infineon-brings-risc-v-to-the-automotive-industry-and-is-first-to-announce-an-automotive-risc-v-microcontroller-family/