主要内容

使用 Infineon AURIX 进行多核仿真和代码生成

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

Infineon AURIX TC3x 微控制器具有多个同构 TriCore® 处理单元。TC39x 系列由六个 TriCore(TriCore0TriCore5)组成,TC38x 系列由四个 TriCore(TriCore0TriCore3)组成,TC37x 系列由三个 TriCore(TriCore0TriCore2)组成。TriCore0 是主核,其余核为辅助核。

您可以在可用的核上运行不同的模型,也可以对复杂模型进行分区以便在多个核上同时运行,从而实现设计模块化。Interprocess Data Channel 模块处理多个核之间的通信。在对多核模型进行仿真后,您可以使用 SoC 构建器工具在 Infineon AURIX TC3x 硬件板上部署生成的代码,并使用 Infineon 的 One Eye 工具监控来自硬件的信号。

使用 SoC 构建器工具生成可执行文件、代码和对硬件板进行编程。请参阅Getting Started with Multicore Modeling and Targeting for Infineon AURIX TC3x Microcontrollers示例,了解如何验证、编译和运行多核模型,以生成可执行文件、代码和对 Infineon AURIX TC4x 硬件板进行编程。

模块

全部展开

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 起)

主题

精选示例