AUTOSAR Blockset

コード パースペクティブ、マッピング、プロパティ インスペクターを含む AUTOSAR Atomic ソフトウェア コンポーネント モデルを示すスクリーンショット。

AUTOSAR Classic ソフトウェア コンポーネントのモデル化

Simulink で AUTOSAR のポート、インターフェイス、およびその他の設定を使用して、AUTOSAR Classic ソフトウェア コンポーネントを自動的に作成します。

AUTOSAR Adaptive ソフトウェア コンポーネントのモデル化

AUTOSAR Adaptive プラットフォーム用に、AUTOSAR Blockset を使用して、Simulink で既定の AUTOSAR 端子、サービス インターフェイス、およびその他の構成を使用してソフトウェア コンポーネントを自動的に生成します。

BSW サービスを使用した AUTOSAR コンポジションおよび ECU ソフトウェアのシミュレーション

NVRAM Manager、Diagnostic Event Manager、Function Inhibition Manager などの基本ソフトウェア (BSW) サービスとともに、AUTOSAR ソフトウェア コンポーネントとコンポジションをモデル化してシミュレーションします。

AUTOSAR エディターのスクリーンショット。

AUTOSAR ソフトウェア アーキテクチャのモデル化

Simulink でソフトウェア コンポジション、インターフェイスがあるコンポーネント、データ型、プロファイル、ステレオタイプを作成します (System Composer を使用)。新しい Simulink コンポーネントモデルを作成する、既存のコンポーネントモデルにリンクする、または ARXML ファイルからインポートすることで、アーキテクチャモデルでコンポーネントの動作を指定します。

実行順序を示すスケジュール エディターのスクリーンショット。

スケジューリングとシミュレーションの構成

スケジュール エディターを使用して、シミュレーションのコンポーネント ランナブルの実行順序をスケジュールおよび指定します。この機能を使用して、コンポーネントレベルとコンポジションレベルで AUTOSAR ECU ソフトウェアの動作を検証します。

3 つの AUTOSAR 設計ワークフロー (ボトムアップ、トップダウン、ラウンドトリップ) を示す図。

AUTOSAR 設計ワークフロー

ボトムアップ ワークフローを使用して、既存の Simulink 設計を AUTOSAR ソフトウェア コンポーネント モデルにマッピングし、アーキテクチャを表示して、コードと ARXML を生成します。トップダウン ワークフローを使用して、アーキテクチャから開始し、ARXML ファイルを Simulink またはアーキテクチャモデルにインポートして、アルゴリズムを開発します。または、ラウンドトリップ ワークフローを使用して、両方の手法を組み合わせます。

C++ AUTOSAR Adaptive コードの抜粋。

AUTOSAR アプリケーションの量産向け C/C++ コードの生成

Embedded Coder を使用して、量産向け C/C++ コードと AUTOSAR XML ファイルを生成します。検証用コードを使用して、ソフトウェアインザループ (SIL) テストとプロセッサ インザループ (PIL) テストを実行します。

AUTOSAR ライブラリブロックとそれに対応する C コード。

コード置換による最適化されたライブラリルーチンの生成

事前設定された AUTOSAR ブロックとコード置換を使用して、AUTOSAR Classic アプリケーション用に最適化されたライブラリルーチンを生成します。

 MISRA ルールをチェックするためのユーザー インターフェイス。

ISO 26262 および MISRA C 準拠の達成

IEC Certification Kit を使用して、Embedded Coder で生成されたコードの ISO 26262 に対する適格性を確認します。Polyspace Code Prover を使用して、生成された AUTOSAR コードの MISRA® C に対する準拠を検証し、ランタイムエラーをチェックして、コードと AUTOSAR ARXML 記述の間の不一致を検出します。

「モデルベースデザイン (MBD、モデルベース開発) を使用することで、グラフィカルな設計、シミュレーション、コード生成により、高品質の AUTOSAR 準拠のコードを開発できます。」

AUTOSAR Blockset

AUTOSAR Blockset provides apps and blocks for developing AUTOSAR Classic and Adaptive software using Simulink models, including tools for designing software components, simulating Basic Software services, and generating C/C++ code.

You can use the AUTOSAR Component Designer app to design and map Simulink models to software components, or import software component and composition descriptions from AUTOSAR XML (ARXML) files to generate new Simulink models.

AUTOSAR Blockset provides blocks and constructs for BSW services including NVRAM Manager, Diagnostics Event Manager, and Function Inhibition Manager, allowing you to simulate BSW services together with your application software model.

Yes, AUTOSAR Blockset supports developing, simulating, and generating code for both AUTOSAR Classic and Adaptive software components with automatic generation of ports, interfaces, and other configurations in Simulink.

Yes, with System Composer you can create AUTOSAR architecture models in Simulink to author software compositions, components with interfaces, data types, profiles, and stereotypes, and add simulation behavior including BSW service components.

With Embedded Coder, AUTOSAR Blockset generates production C/C++ code and AUTOSAR XML files, supports software-in-the-loop (SIL) and processor-in-the-loop (PIL) testing, and is qualified for use with the ISO 26262 standard using IEC Certification Kit.

You can import ARXML files to generate Simulink models or export ARXML for round-trip workflows, enabling you to round-trip software descriptions between Simulink and other AUTOSAR tools.

Yes, by simulating BSW services together with your application software model, you can verify your AUTOSAR ECU software directly in Simulink without external tools.