主要内容

Infineon AURIX 的多核架构

为 Infineon® AURIX™ TC3x 微控制器的多核模型设计、仿真和生成代码

Infineon AURIX TC3x 系列中的微控制器最多可包含六个 TriCore® 处理单元(TriCore 0 至 TriCore 5)。TriCore 0 是主要处理单元,负责处理 AURIX 微控制器中的系统初始化、启动过程和关键控制任务。这些处理单元可以独立或协作运行。您可以将不同应用程序分配给各个处理单元。为了支持 Simulink® 中的模块化和并发设计,您可以将一个复杂应用程序的各个组件分布在多个处理单元上。

Embedded Coder® Support Package for Infineon AURIX TC3x Microcontrollers 可帮助您设计多核和单核应用程序模型。下图显示使用 Infineon AURIX TC4x 微控制器的不同处理单元的推荐建模方案。

下图显示使用 Infineon AURIX TC3x 微控制器的不同处理单元 (PU) 的推荐建模方案。

  • 一体式模型 - 单一或独立 Simulink 模型,它生成一个集成的应用程序,该应用程序由 Simulink 在单个处理单元上执行。

  • 基于 SoC 的多核模型 - 统一的片上系统 (SoC) 架构,它为参与的处理单元生成一个或多个集成应用程序。SoC 模型由一个顶层模型和两个或多个独特的引用模型组成。顶层模型表示整个嵌入式系统,其中包含在引用模型上运行的应用程序算法或模型。

模块

全部展开

ADC InterfaceConvert analog signal on ADC input pin to digital signal
PWM InterfaceSimulate pulse width modulation (PWM) output from hardware
Digital IO InterfaceSimulate digital input and output pins on processor (自 R2021b 起)
Interprocess Data ReadReceive messages from another processor using interprocess communication channel
Interprocess Data WriteSend messages to another processor using interprocessor data write
Interprocess Data ChannelModel interprocessor data channel between two processors
Task ManagerCreate and manage task executions in Simulink model
Event SourceSimulate and playback recorded task events

工具

SoC 构建器Build, load, and execute multicore application models on Infineon AURIX TC4x hardware boards (自 R2024b 起)
硬件映射Map tasks and peripherals in a model to hardware board configurations (自 R2022b 起)

主题

代码生成

处理器在环 (PIL) 仿真

精选示例