ARM Cortex-M プロセッサおよび ARM Cortex-A プロセッサ用のコード生成
DSP System Toolbox™ は、ARM Cortex-M および ARM Cortex-A プロセッサ上の FIR フィルター処理および FFT などの一般的なアルゴリズムのための最適化 C コード生成をサポートします。この最適化されたコードを生成するには、Embedded Coder® Support Package for ARM Cortex-M Processors または Embedded Coder Support Package for ARM Cortex-A Processors をインストールしなければなりません。さらに、DSP System Toolbox、MATLAB® Coder™、Embedded Coder のほか、Simulink® ベースのワークフロー向けに Simulink および Simulink Coder の各製品が必要です。
それらの Embedded Coder サポート パッケージを使用して、CMSIS ライブラリにリンクできる C コードや Ne10 ライブラリ関数を呼び出す C コードを生成できます。この生成コードをコンパイルすることで、ARM Cortex-M プロセッサや ARM Cortex-A プロセッサで実行される最適化された実行可能ファイルを提供できます。
また、生成された ARM Cortex-M CRL コードを MATLAB から KEIL μVision IDE や IAR Embedded Workbench に移植することもできます。詳細については、Port the Generated ARM Cortex-M CRL Code from MATLAB to KEIL μVision IDE および Port the Generated ARM Cortex-M CRL Code from MATLAB to IAR Embedded Workbench を参照してください。
ARM Cortex プロセッサ用の Embedded Coder サポート パッケージをダウンロードするには、https://www.mathworks.com/hardware-support.htmlを参照してください。
サポート パッケージの詳細とダウンロード手順については、ARM Cortex-M プロセッサ (Embedded Coder)およびARM Cortex-A プロセッサ (Embedded Coder)を参照してください。
トピック
ARM Cortex-M プロセッサ
- Supported DSP System Toolbox Blocks and MATLAB System Objects for CMSIS Library (Embedded Coder)
Deployable blocks and System objects supporting CMSIS library. - Supported Simulink Blocks with CMSIS Library for ARM Cortex-M Processors (Embedded Coder)
Supported Simulink blocks with CMSIS library for ARM Cortex-M processors. - Supported DSP System Toolbox Blocks with CMSIS Library for ARM Cortex-M Processors (Embedded Coder)
List of supported DSP System Toolbox blocks with CMSIS library for ARM Cortex-M processors. - Supported DSP System Toolbox System Objects with CMSIS Library for ARM Cortex-M Processors (Embedded Coder)
List of supported DSP System Toolbox System objects with CMSIS library for ARM Cortex-M processors. - Verify FIR Filter on ARM Cortex-M Processor (Embedded Coder)
This example shows how to use the code replacement library (CRL) for ARM® Cortex-M processors with DSP blocks. The model uses the FIR filter block to filter two sine waves of different frequencies. - Support Fixed-Point FIR Filter on ARM Cortex-M Processor (Embedded Coder)
This example shows how to use the code replacement library (CRL) for ARM® processors with DSP blocks. The model uses the fixed-point FIR filter block to filter two sine waves of different frequencies. - Support ARM CMSIS C Code Generation of dsp.FIRFilter in MATLAB Function Block (Embedded Coder)
This example shows how to use the code replacement library (CRL) for ARM® processors with DSP System object™. The model uses a MATLAB Function (Simulink) block that contains adsp.FIRFilter
System object to filter two sine waves of different frequencies. - Verify FIR Filter on ARM Cortex-M Processor in MATLAB (Embedded Coder)
This example shows how to use the code replacement library (CRL) for ARM® Cortex®-M processor with DSP System object™. The example uses adsp.FIRFilter
System object to filter two sine waves of different frequencies. - Parameteric Audio Equalizer for ARM Cortex-M Processor (Embedded Coder)
This example shows how to generate and run the optimized code of a parametric audio equalizer on ARM® Cortex®-M processor while adjusting equalizer response from within Simulink® environment. The optimized code uses CMSIS DSP library for the biquad filter in the equalizer. - Real-Time ECG QRS Detection on ARM Cortex-M Processor (Embedded Coder)
This example shows how to generate and run optimized code for real-time QRS detection of an electrocardiogram (ECG) signal on the ARM® Cortex®-M processor. It uses an ECG signal selector for choosing ECG signal sources with different mean heart rates in the Simulink® environment. The optimized code uses the CMSIS library for the discrete FIR blocks in the example.
ARM Cortex-A プロセッサ
- Supported Ne10 Library Functions for ARM Cortex-A Processors (Embedded Coder)
Supported Ne10 library functions. - Supported DSP System Toolbox Blocks and MATLAB System Objects for Ne10 Library (Embedded Coder)
Deployable blocks supporting the Ne10 library. - Supported DSP System Toolbox System Objects with Ne10 Library for ARM Cortex-A Processors (Embedded Coder)
Ne10 CRL conditions for DSP System objects to support ARM Cortex-A. - Supported DSP System Toolbox Blocks with Ne10 Library for ARM Cortex-A Processors (Embedded Coder)
Ne10 CRL Conditions for DSP blocks to support ARM Cortex-A. - Verify FIR Filter on ARM Cortex-A Processor (Embedded Coder)
This example shows how to use the Code Replacement Library (CRL) for ARM® processor with DSP blocks. The model uses the FIR filter block to filter two sine waves of different frequencies. - Support NE10 Library C Code Generation of dsp.FIRFilter in MATLAB Function Block (Embedded Coder)
This example shows how to use the Code Replacement Library (CRL) for ARM® processor with DSP System object™. The model uses a MATLAB Function (Simulink) that contains a dsp.FIRFilter System object to filter two sine waves of different frequencies. - Verify FIR Filter on ARM Cortex-A Processor in MATLAB (Embedded Coder)
This example shows how to use the Code Replacement Library (CRL) for ARM® Cortex®-A processor with DSP System object™. The example uses a dsp.FIRFilter System object to filter two sine waves of different frequencies. - Short-Time Spectral Attenuation on ARM Cortex-A Processor (Embedded Coder)
This example shows how to generate and run optimized code for short-time spectral attenuation on the ARM® Cortex®-A processor. It includes using a switch to listen to the noisy and denoised signal in the Simulink® environment. The optimized code uses the NE10 library for the FFT and IFFT blocks in the example. - Parametric Audio Equalizer for ARM Cortex-A Processor (Embedded Coder)
This example shows how to generate and run the code of a parametric audio equalizer on ARM® Cortex®-A processor while adjusting equalizer response in the Simulink® environment. - Real-Time ECG QRS Detection on ARM Cortex-A Processor (Embedded Coder)
This example shows how to generate and run optimized code for real-time QRS detection of an electrocardiogram (ECG) signal on the ARM® Cortex®-A processor. It uses an ECG signal selector to allow users to choose ECG signal sources with different mean heart rates in the SIMULINK® environment. The optimized code uses the NE10 library for the discrete FIR blocks in the example. - Use Target Hardware Instruction Set Extensions to Generate SIMD Code from Simulink Blocks for ARM Cortex-A Processors
Generate high performance SIMD Code from Simulink Blocks in DSP System Toolbox by using the Embedded Coder Support Package for ARM Cortex-A Processors.