MathWorks expands model-based design & code generation across ARM Cortex family

October 31, 2014 // By Graham Prophet
The benefits of Model-Based Design, says The MathWorks, are now more accessible to embedded developers, with the addition of optimised code generation for the Cortex-A processor family

Code generated from MATLAB and Simulink is now optimised for use across the ARM Cortex-A processor family. Embedded systems developers using ARM Cortex processors in the automotive, aerospace, signal processing and medical device industries can now automatically generate code, speeding execution time and reducing memory usage. This ability to generate optimised code helps small design teams extend Model-Based Design across applications and devices including motor control, power electronics, audio, and communications.

Building on CMSIS library support for Cortex-R and Cortex-M cores, Embedded Coder now offers Ne10 DSP library support, which helps generate optimised DSP filter code for the full line of ARM Cortex-A processor-based devices. Simulink also offers built-in target support for ARM-based hardware devices including BeagleBone Black, Xilinx Zynq, STMicroelectronics Discovery Board, and Freescale Freedom Board. Third-party integrations exist for other ARM-based devices including Texas Instruments' Hercules and Analog Devices’ CMx40 hardware.

MathWorks cites three principal benefits of Model-Based Design for engineers throughout the software and hardware design process.

  1. By using Simulink for desktop simulation of systems, engineers can catch errors early and optimise designs;
  2. Automatic code generation with Embedded Coder can help to prevent manual coding errors and optimise code;
  3. Automated testing of model code using processor-in-the-loop with Embedded Coder saves time via test reuse and improves code quality.

Richard York, vice president, embedded segment, ARM, comments, “With Ne10 optimised code, embedded systems developers working with Cortex-A processors can now realise the cost and time-to-market benefits of Model-Based Design with fast ARM NEON code performance on ARM cores.”

The mathWorks adds that, “Increasing interest in image processing, radar, and communications is driving more use of ARM Cortex-A-based devices for a wide range of consumer and commercial devices... embedded software engineers and system level designers often need to simulate their software and systems within the same environment. The ability to generate optimised code will serve as an on-ramp to Model-Based Design for groups of engineers developing ARM-based devices, by