Delivering the benefits of C++ encapsulation to your embedded design
By Colin Walls, Accelerated Technology, a division of Mentor Graphics
Dec 22 2005 (13:35 PM), Embedded.com
C++ can deliver real benefits specifically for the implementation of embedded software, particularly when the concept of “encapsulation of expertise” is used. By employing this technique to take advantage of the number of specialties an embedded software team has, many programming problems, both serious and trivial, can be resolved.
Given some understanding of potential C++ overheads and the benefits of the encapsulation of expertise, trade-offs may be made in order to achieve design goals efficiently. To illustrate its effectiveness let’s look at a number of case studies, including:
1. How the nvramchar class could completely insulate the applications programmer from knowledge of the internal workings of non-volatile RAM.
2. How the technique can be used to conceal the workings of a write-only port, making its use straightforward and intuitive.
3.How to encapsulation can be used with a real-time operating system hidden from the applications programmer, making possible future changes in the RTOS, but with no impact on the applications code.
To read the full article, click here
Related Semiconductor IP
- LPDDR6/5X/5 PHY V2 - Intel 18A-P
- ML-KEM Key Encapsulation & ML-DSA Digital Signature Engine
- MIPI SoundWire I3S Peripheral IP
- ML-DSA Digital Signature Engine
- P1619 / 802.1ae (MACSec) GCM/XTS/CBC-AES Core
Related White Papers
- How Low Can You Go? Pushing the Limits of Transistors - Deep Low Voltage Enablement of Embedded Memories and Logic Libraries to Achieve Extreme Low Power
- Last-Time Buy Notifications For Your ASICs? How To Make the Most of It
- EDA in the Cloud Will be Key to Rapid Innovative SoC Design
- Bigger Chips, More IPs, and Mounting Challenges in Addressing the Growing Complexity of SoC Design
Latest White Papers
- AnaFlow: Agentic LLM-based Workflow for Reasoning-Driven Explainable and Sample-Efficient Analog Circuit Sizing
- FeNN-DMA: A RISC-V SoC for SNN acceleration
- Multimodal Chip Physical Design Engineer Assistant
- An AUTOSAR-Aligned Architectural Study of Vulnerabilities in Automotive SoC Software
- Attack on a PUF-based Secure Binary Neural Network