Electronicdesign 29149 Old Way New Way 1053768516

New Instructions Revealed at Arm TechCon

Oct. 11, 2019
Arm announced that Cortex-M designs can include custom instructions, which is intended to help create better hardware and software synergies in intelligent device design.

Arm Custom Instructions allow chip designers to add instructions to the usual complement found in the Cortex-M microcontroller family. This builds on the Arm-v8M architecture that includes the secure Arm TrustZone technology found in the Cortex-23 and Cortex-M33 processors. New instructions could enhance any application, but machine learning (ML) applications are an obvious choice. The Cortex-M platform has had some ML enhancement already, but these tend to extend arithmetic support to formats and matrix operations that are part of the Helium M-Profile Vector Extensions.

“A world of a trillion secure intelligent devices will be built on a diversity of complex use cases requiring increased synergy between hardware and software design,” said Dipti Vachani, senior vice president and general manager for Arm’s Automotive and IoT Line of Business, at Arm TechCon. “We have engineered Arm Custom Instructions to fuel closer hardware and software co-design efforts toward achieving application-specific acceleration while unlocking greater device differentiation.”

The Arm Custom Instruction support covers the complete design and deployment flow (see figure) from design and incorporation of instruction-related IP to compiler and debug support. This type of extension isn’t unique to microcontroller IP. Platforms like RISC-V, Cadence’s Tensilica, and MIPS all have supported custom instructions, but this is uncharted waters for Arm, which has been able to force its customers to deliver compatible platforms. The new option still restricts the base to be the same, so any application targeting the base instruction set will run on any Cortex-M processor.

Arm provides the complete design and support flow for delivering microcontrollers with additional instructions over and above those in the Cortex-M.

There are usually two reasons for adding instructions: increase performance and/or reduce power requirements by providing more efficient operations. Both are useful for microcontroller applications.

Though most types of applications that can benefit from instruction extensions, the amount of enhancement needs to be balanced with the costs. These costs don’t just include the support provided by Arm to integrate custom IP—they also cover the additional training and long-term support. The tradeoff between using a stock microcontroller, a standard Cortex-M chip, or one with an extended instruction set is something that companies will continue to deal with. The latter simply provides designers with more options.

Designers have always had the option to enhance a Cortex-M using peripheral accelerators. The difference is code and communication efficiency. A peripheral requires movement of data and operation initiation by an application. A single custom instruction is able to do more than multiple instructions with an accelerator. An accelerator can be more efficient when dealing with streams of data or where shared memory may allow an accelerator to operate in parallel with a processor. However, this adds complexity to a chip. Custom instructions can also be complementary to an accelerator.

The custom instruction support doesn’t extend to the higher-end Cortex-A platform. It’s unlikely to be added any time soon because Cortex-A platforms are more sophisticated when it comes to memory support, including virtual-memory and virtual-machine support.

It will be interesting to see how this new design option is used. Lots of companies already design their own microcontrollers or incorporate one or more Cortex-M processors in a multicore SoC.  Many of these will be employed only within a company that limits the support requirements while providing a higher-performance or more-efficient platform than available to their competition.

Sponsored Recommendations

TTI Transportation Resource Center

April 8, 2024
From sensors to vehicle electrification, from design to production, on-board and off-board a TTI Transportation Specialist will help you keep moving into the future. TTI has been...

Cornell Dubilier: Push EV Charging to Higher Productivity and Lower Recharge Times

April 8, 2024
Optimized for high efficiency power inverter/converter level 3 EV charging systems, CDE capacitors offer high capacitance values, low inductance (< 5 nH), high ripple current ...

TTI Hybrid & Electric Vehicles Line Card

April 8, 2024
Components for Infrastructure, Connectivity and On-board Systems TTI stocks the premier electrical components that hybrid and electric vehicle manufacturers and suppliers need...

Bourns: Automotive-Grade Components for the Rough Road Ahead

April 8, 2024
The electronics needed for transportation today is getting increasingly more demanding and sophisticated, requiring not only high quality components but those that interface well...

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!