Content area
Engineers can save themselves a lot of grief if they carefully evaluate their designs in software before committing to silicon or sheet metal. Model-based-design and early-verification tools are helping designers, whether they are developing ICs or airframes, find inevitable mistakes early and get to market on time. Model-based design can be of significant value in helping isolate domain experts, such as medical-device or aerospace engineers, from the need to understand low-level hardware and software details. However, they can also help catch errors at the specification stage that designers would not otherwise catch until the test stage, saving time and money. The available modeling and prototyping tools span the gamut of applications, from mechatronics systems to RTL (register-transfer-level)-IP (intellectual-property)-based SOCs (systems on chips). Model-based design and rapid prototyping can be particularly valuable in proof-of-concept work or in ensuring that a specification meets customer requirements.
Modeling and simulation at levels ranging from chip to system can catch bugs early and ensure quick time to market.
Engineers can save themselves a lot of grief if they carefully evaluate their designs in software before committing to silicon or sheet metal. Model-based-design and early-verification tools are helping designers, whether they are developing ICs or airframes, find inevitable mistakes early and get to market on time. Model-based design can be of significant value in helping isolate domain experts, such as medical-device or aerospace engineers, from the need to understand low-level hardware and software details ( Reference 1 ). However, they can also help catch errors at the specification stage that designers would not otherwise catch until the test stage, saving time and money. The available modeling and prototyping tools span the gamut of applications, from mechatronics systems to RTL (register-transfer-level)-IP (intellectual-property)-based SOCs (systems on chips).
Not surprisingly, the automotive industry is aggressively using model-based design and simulation as it grapples with new technologies, such as hybrid-electric and fuel-cell vehicles. A recent article describes automotive-R&D activities as comparable to those of the telecommunications industry when it overcame power and chip-size challenges to support the evolution of cell phones into multimedia devices ( Reference 2 ). The article touts simulation as a way to meet the challenges, citing Mentor Graphics' SystemVision, for example, as a simulator that can help engineers manage mechanics, electronics, software, and controls all in one system.
Model-based design and rapid prototyping can be particularly valuable in proof-of-concept work or in ensuring that a specification meets customer requirements. Alliance Spacesystems, for example, uses the concept in its development of robotic arms for applications including the Mars Spirit and Opportunity rovers ( Reference 3 ). Sean Dougherty, mechatronics-group supervisor at the company, describes a Hubble-space-telescope application in which replacement of a malfunctioning instrument would require the removal of 100 fasteners. NASA (National Aeronautics and Space Administration), he says, was not sure the feat was possible. Using hardware and software from National Instruments, however, Alliance Spacesystems within three months prototyped a functioning robot with X-, Y-, and Z-axis motion, complete with a vision system to recognize the fasteners.
A more down-to-earth application for Alliance Spacesystems involves automobile-mounted camera booms that the movie industry uses to film car chases. Although aerospace and similar programs tend to have long leadtimes with thoroughly reviewed specifications and requirements documents, filmmakers are more likely to require frequent iterations to obtain what they want. Hardware and software, such as National Instruments' LabView and CompactRIO platform, says Dougherty, enable him to adapt to customers' evolving needs, rapidly developing new versions.
Brett Murphy, manager of technical marketing at The MathWorks, lays out the case for early verification. He says that aerospace and automotive members of the company's customer-advisory boards cite verification and validation as top priorities. Errors most often emerge at a project's specification stage, and fewer errors manifest themselves at the subsequent design, implementation, and test stages. In contrast, engineers frequently don't detect the errors until the test stage. Murphy presents a multistage approach to catching and correcting errors earlier. This approach includes capturing requirements using executable specifications; using models as the system-level test benches for algorithms and components; simulating to explore design trade-offs, component interactions, and system-level metrics; and reusing the same test bench from virtual system integration through to the developed system. These techniques are applicable to adopters of model-based design; groups developing control systems; and engineers designing algorithm-intensive signal-processing, imaging, and communications systems.
For adopters of model-based design, Murphy adds, simulations often do not connect to requirements, a problem that designers can address through the definition of requirements-based test in a process that enables the use of simulations to ensure designers find requirements errors early. Companies that have successfully employed the approach include Bell Helicopter. In addition, Murphy says, Hyundai has employed MathWorks and SimuQuest tools to model, simulate, prototype, and deploy an engine-control unit. The MathWorks is also involved in the EcoCar challenge for engineering students (see sidebar "Tomorrow's engineers learn model-based design").
Control-system designers, Murphy says, face challenges as system complexity grows. It then becomes important to test control algorithms through modeling and simulation and to leverage models through automatic code generation for a microcontroller, an FPGA, or a programmable-logic controller to support real-time testing. Murphy notes that Manroland has employed MathWorks tools to design and model a printing-press controller, run real-time simulations, and deploy a production system, reducing development time by a year.
For algorithm-intensive signal processing in communications, electronics, semiconductor, imaging, medical, and aerospace applications, verification time and costs are escalating, with engineers spending 50% or more of their time writing verification code. To alleviate the problem, engineers can turn to multidomain system verification, integrating Matlab, C/C++, and HDL (hardware-description-language) IP into Simulink models. Designers can develop a golden reference model in Matlab, develop a test bench in Matlab or Simulink, and perform cosimulation with embedded IDEs (integrated development environments), HDL simulators, or analog simulators, leading to a DSP or an FPGA prototype without requiring low-level programming. Murphy adds that acoustical engineers from Philips, who were not expert programmers, were able to develop and test real-time prototypes for a surround-sound system without writing any low-level DSP code.
Software differentiation
Frank Schirrmeister, director of product marketing for system-level solutions at Synopsys, sees the emergence of the software-differentiated-hardware era as a key challenge, with software-development costs beginning to represent more than 70% of total development costs as process geometries shrink to 22 nm. Citing IBS Research and Consultancy, he says the software costs were less than 20% of total development costs at the 180-nm node. Synopsys' own research reflects the trend toward higher software costs. As a result, designers are using embedded processors within their designs to verify the hardware-for example, by running test benches.
Synopsys offers a variety of system-level tools, including Saber, System Studio, and Innovator for algorithmic, mechatronic, and system simulation; the DesignWare system-level library of high-level IP; DesignWare cores; System Studio for high-level DSP design and verification; Innovator for virtual prototyping of embedded software; Confirma for rapid prototyping; and core tools for hardware design and verification. One of the company's newest tools in this market is the Synphony high-level-synthesis tool, which debuted in October. It converts Matlab M scripting-language code to synthesizable datapath-RTL logic.
Synopsys' DSP-algorithm portfolio enhances verification productivity through HDL-import and SystemC-export capabilities and maximizes simulation performance. System Studio supports algorithm optimization and verification using an executable test bench. The DesignWare system-level library combines with Innovator to support early software development and enhance design quality through a SystemC-executable specification.
Cycle-accurate modeling
Carbon Design Systems focuses on cycle-accurate IP modeling for virtual prototyping of SOCs, providing presilicon validation of hardware and software designs. The company offers a compiler that reads in RTL in VHDL (very-high-speed hardware-description language) or Verilog and produces a model that you can link into almost any virtual platform, including Carbon SOC Designer, CoWare Platform Architect, and OSCI (Open SystemC Initiative) SystemC ( Reference 4 ). Cycle-accurate models in a language such as C represent the RTL from which designers compile them and consequently are more suitable for SOC validation than are models you derive from behavioral descriptions, which may not match the RTL performance.
According to Bill Neifert, Carbon's vice president of business development, the company has recently been working with ARM and MIPS Technologies on cycle-accurate models for increasingly complex processors. "Continuing handwriting cycle-accurate models was becoming too onerous a task [for ARM] as the company developed more and more advanced processors," he says. "It turned out it was just as much work to write the cycle-accurate models as it was to write the RTL for the real design." As a result, ARM decided 18 months ago to stop handwriting models. "That's when we stepped in and said that model generation happens to be a problem that we've solved," says Neifert. Carbon then acquired ARM's SOC Designer tool, which handles model generation for ARM IP, generating 100%-accurate models for ARM RTL IP and integrating features such as debuggers and program loaders. MIPS faced similar challenges in handwriting cycle-accurate models. "Seeing what we are able to do with the ARM processors, MIPS decided to follow a similar path," Neifert adds. MIPS, however, chose to employ Carbon's technology to generate its own cycle-accurate models of IP, such as its M14K and M14Kc cores, for its customers.
IP providers such as ARM and MIPS aren't the only customers for Carbon's technology. Last month, Carbon announced that AppliedMicro, which addresses energy-conscious computing and communications applications, selected Carbon Model Studio to accelerate the deployment of SystemC-based virtual platforms for presilicon and postsilicon software development, performance analysis, and validation of SOC designs.
For More Information
Alliance Spacesystems
www.alliancespacesystems.com
AppliedMicro
www.appliedmicro.com
Argonne National Laboratory
www.anl.gov
ARM
www.arm.com
Bell Helicopter
www.bellhelicopter.com
Carbon Design Systems
www.carbondesignsystems.com
CoWare
www.coware.com
EcoCar Challenge
www.ecocarchallenge.org
Freescale Semiconductor
www.freescale.com
General Motors
www.gm.com
Hyundai
www.hyundai.com
IBS Research and Consultancy
www.ibsresearch.com
Manroland
www.manroland.com
The MathWorks
www.mathworks.com
Mentor Graphics
www.mentor.com
MIPS
www.mips.com
National Aeronautics and Space Administration
www.nasa.gov
National Instruments
www.ni.com
Open SystemC Initiative
www.systemc.org
Philips
www.philips.com
Rose-Hulman Institute of Technology
www.rose-hulman.edu
SimuQuest
www.simuquest.com
Synopsys
www.synopsys.com
US Department of Energy
www.energy.gov
References
Nelson, Rick, "High-level software for embedded-system design: Doing your job?" EDN , July 9, 2009, pg 20, www.edn.com/article/CA6668610.Teegarden, Darrell A, "Simulation provides key to explosive automotive design challenges," John Day's Automotive Electronics News , Oct 12, 2009, johndayautomotivelectronics.com/?p=864."Alliance Spacesystems Relies on the NI Graphical System Design Platform to Develop Sophisticated Robotics," National Instruments, 2009, http://zone.ni.com/wv/app/doc/p/id/wv-1363/upvisited/y.Bollaert, Thomas, "SystemC, Ten Years Later ," Mentor Graphics Corp, Nov 17, 2009, www.mentor.com/products/esl/blog/post/systemc-ten-years-later--be383cde-6b14-4052-b4bb-5a1a61224a74.
You can reach Editor-in-Chief Rick Nelson at 1-781-734-8418 and [email protected].
Copyright Reed Business Information, a division of Reed Elsevier, Inc. Dec 15, 2009
