メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

Infineon AURIX を使用したマルチコア シミュレーションと最適化されたコード生成

Infineon® AURIX™ TC4x マイクロコントローラーのマルチコア モデルを設計、シミュレーションおよびコード生成する

Infineon AURIX TC4x マイクロコントローラーには、6 つの同種の TriCore® CPU (TriCore 0 ~ TriCore 5) と 1 つの異種の並列処理ユニット (PPU) が含まれています。使用可能なコアで異なるモデルを実行したり、複雑なモデルを分割してこれらの複数のコアで同時に実行して、設計のモジュール性を実現したりできます。Interprocess Data Channel ブロックは、複数のコア間の通信を処理します。マルチコア モデルをシミュレーションした後、SoC Builder ツールを使用して生成されたコードを Infineon AURIX TC4x ハードウェア ボードに展開し、Infineon の One Eye ツールを使用してハードウェアからの信号を監視できます。

PPU は TriCore よりも高速に計算を実行します。PPU コアは、コード置換ライブラリを使用して生成されたコードの一部をハードウェア固有のコードに置き換えることにより、モデルのパフォーマンスを高速化します。TriCore 0 コアは主要コアであり、残りのすべての補助コア (TriCore 1 ~ TriCore 5 および PPU) と通信できます。

Infineon AURIX マイクロコントローラーの複数のコアを使用して SoC モデルを作成した後、SoC Builder ツールを使用して実行可能ファイル、コードを生成し、ハードウェア ボードをプログラムします。マルチコア モデルを検証、ビルド、実行して、実行可能ファイルを生成し、コード化し、Infineon AURIX TC4x ハードウェア ボードをプログラムする方法を理解するには、Getting Started with Multicore Modeling and Targeting for Infineon AURIX TC4x Microcontrollersの例を参照してください。

ブロック

すべて展開する

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 BuilderBuild, 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 以降)

トピック

注目の例