AUTOSAR Blockset には、Simulink モデルを使用して AUTOSAR Classic および AUTOSAR Adaptive ソフトウェアを開発するためのアプリとブロックが用意されています。AUTOSAR Component Designer アプリを使用して、Simulink モデルを設計し、ソフトウェア コンポーネントにマッピングできます。あるいは、このブロックセットを使用して、AUTOSAR XML (ARXML) ファイルからソフトウェア コンポーネントとコンポジションの記述をインポートし、AUTOSAR 向けに新しい Simulink モデルを生成できます。
AUTOSAR Blockset は、NVRAM や Diagnostics など、AUTOSAR ライブラリルーチンや基本ソフトウェア (BSW) サービスのためのブロックと構造体を提供します。ご使用のアプリケーション ソフトウェア モデルとともに BSW サービスをシミュレーションすることで、Simulink 内で AUTOSAR ECU ソフトウェアを検証できます。
AUTOSAR Blockset を使用すると、Simulink で AUTOSAR アーキテクチャモデルを作成できます (System Composer が必要)。AUTOSAR アーキテクチャモデルでは、ソフトウェア コンポジション、インターフェイスのあるコンポーネント、データ型、プロファイル、ステレオタイプを作成できます。BSW サービス コンポーネントなどのシミュレーション動作を追加できます。あるいは、ARXML ファイルを介して、ソフトウェア記述をラウンドトリップ (インポートおよびエクスポート) することもできます。
AUTOSAR Blockset は、C および C++ による量産コード生成をサポートしています (Embedded Coder を使用)。ISO 26262 規格に従った使用の適格性が確認されています (IEC Certification Kit を使用)。
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 ソフトウェア アーキテクチャのモデル化
Simulink でソフトウェア コンポジション、インターフェイスがあるコンポーネント、データ型、プロファイル、ステレオタイプを作成します (System Composer を使用)。新しい Simulink コンポーネントモデルを作成する、既存のコンポーネントモデルにリンクする、または ARXML ファイルからインポートすることで、アーキテクチャモデルでコンポーネントの動作を指定します。
ドキュメンテーション | 例
スケジューリングとシミュレーションの構成
スケジュール エディターを使用して、シミュレーションのコンポーネント ランナブルの実行順序をスケジュールおよび指定します。この機能を使用して、コンポーネントレベルとコンポジションレベルで AUTOSAR ECU ソフトウェアの動作を検証します。
ドキュメンテーション | 例
AUTOSAR 設計ワークフロー
ボトムアップ ワークフローを使用して、既存の Simulink 設計を AUTOSAR ソフトウェア コンポーネント モデルにマッピングし、アーキテクチャを表示して、コードと ARXML を生成します。トップダウン ワークフローを使用して、アーキテクチャから開始し、ARXML ファイルを Simulink またはアーキテクチャモデルにインポートして、アルゴリズムを開発します。または、ラウンドトリップ ワークフローを使用して、両方の手法を組み合わせます。
ドキュメンテーション | 例
AUTOSAR アプリケーションの量産向け C/C++ コードの生成
Embedded Coder を使用して、量産向け C/C++ コードと AUTOSAR XML ファイルを生成します。検証用コードを使用して、ソフトウェアインザループ (SIL) テストとプロセッサ インザループ (PIL) テストを実行します。
ドキュメンテーション | 例
コード置換による最適化されたライブラリルーチンの生成
事前設定された AUTOSAR ブロックとコード置換を使用して、AUTOSAR Classic アプリケーション用に最適化されたライブラリルーチンを生成します。
ドキュメンテーション | 例
ISO 26262 および MISRA C 準拠の達成
IEC Certification Kit を使用して、Embedded Coder で生成されたコードの ISO 26262 に対する適格性を確認します。Polyspace Code Prover を使用して、生成された AUTOSAR コードの MISRA® C に対する準拠を検証し、ランタイムエラーをチェックして、コードと AUTOSAR ARXML 記述の間の不一致を検出します。
ドキュメンテーション | 例
製品リソース:
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.