Hardware Virtualization for Pre-Silicon Software Development in Automotive Electronics Frank Schirrmeister, Filip Thoen fschirr@synopsys.com Synopsys, Inc.
Market Trends & Challenges Growing electronics content & complexity y Multi-node, networked ECU architecture typical 8 Complex intra-ecu behavior & inter-ecu interaction 8 Meeting quality & reliability requires analysis & diagnosis of complex hardware/software problems y Dramatic increase in software content & complexity 8 40% of vehicle cost is attributed to electronics & software cost 8 50-70% of ECU development cost is due to software Need to reduce design cycle times & cost y While satisfying global regulations on passenger safety, emissions & fuel economy y While guaranteeing high quality & reliability Software & hardware are focused on reliability & quality y Both for safety-critical functionality and to control warranty costs Competitive OEM market, complex dynamic of cost & reliability y Compete heavily in terms of safety, fuel efficiency & new features y But at competitive cost & with high reliability! 2
Growing Complexity in Car Software System Complexity Software Complexity (Program Size) Source: BMW 3 Source: Toyota
#1 Automotive Challenges Cost Reduction & Supply Chain Collaboration Cost Reduction cited as #1 challenge facing the Automotive Design and Engineering Community (32% of users)! 53% of users think an increase in collaboration across the value and supply chain is needed to strengthen the automotive industry! Source: Dupont, 2008 Source: Dupont, 2008 4
HW/SW Challenge #1: Late Bugs 5
HW/SW Challenge #2: Late Start Software has to wait for hardware => Semi cannot sell silicon and bugs are found late 6
Virtual Platform Example Fast Transaction-level Models - Technology Details User Interface Emulation Emulation of system I/O Virtual I/O High-speed (SystemC ) C++ Models Device Mem Board(s) Cockpiut Sensor(s) Actuator(s) Fast Device Instruction-set Under Simulators Control CPU Model CAN Bus Model Chip(s) Peripheral Models Simulation Infrastructure Graphical Hardware Models Transaction-level Interfaces 7
Virtual Platform Demo ECU in Innovator Module Authoring ECU in Innovator Software Debugger Module Authoring 8
Electronics in the Car A Distributed Embedded System Today: More than 80 microprocessors and millions of lines of code! But: Accuracy requirements are widely different depending on which part of the car electronics is applied to! Source: Alberto Sangiovanni-Vincentelli, Design of Embedded Systems: Methodologies, Tools and Applications 9
Transaction-level Modeling Abstraction Levels What Synopsys offers in TLM space Speed 80+ MIPS App View TLM (AV) Application Development Automotive Area 40-60 MIPS Prog. View TLM (PV) Pre-silicon Software Development & Integration Information Systems 1-10 MIPS Architectural Exploration & Real-Time SW Development (Profiling) PV with Timing TLM (PVT) Body Functions 1-100 KIPS System Verification & Timing Validation Cycle Accurate Body Electronics Functionally Accurate 10 Cycle Approximate Cycle Accurate Accuracy
Modeling Styles 11
Loosely Timed Synchronization 12
Approximately Timed Synchronization 13
The Automotive Supply Chain Software IP / Software Suppliers Independent Software Developers: Operating Systems: WindRiver, Linux, ecos, itron Development Tools: WindRiver, Lauterbach, Greenhills, Etas, DSpace Companies Hardware IP Semiconductor Subsystem Suppliers System Integrators Processors: ARM, MIPS, PPC, X86, Tensilica, ARC, MeP, CEVA Interconnect: Arteris, Sonics, Silistix, Peripherals: Synopsys, Denali ST Freescale Infineon Bosch Continental Magneti Marelli Denso Delphi Visteon BMW Toyota Honda GM Chrysler Ford Users Processor & Subsystem & IP Developer Hardware Developers Programmers 14
Value Proposition: Design Cycle Reduction Software IP / Software Suppliers Companies Hardware IP Semiconductor Subsystem Suppliers System Integrators Software Responsibility Device drivers, OS Validate architecture(s) & elect semi supplier ECU software Software integration Software development Arch. Design Hardware Design Silicon Proto Part Design Proto System Design Bench / Proto Firm ware Driv ers Driv ers System SW SW integration Test ing Virtual Platform Long, Reduced sequential design cycle development flow HW/SW Develop meet SW early, late = find risk! issues early 15
The Automotive Supply Chain Concerns, Responsibilities, Value of Virtual Platforms Companies Software IP / Software Suppliers Hardware IP Semiconductor Subsystem Suppliers System Integrators Software Responsibility Device drivers, OS Validate architecture(s) & elect semi supplier ECU software Software integration Software development Virtual Platforms as Collaboration Tool Early (Pre-HW) Software Development Actual Platform usage (wireless example) 16
Value Proposition: Design Cycle Reduction Software IP / Software Suppliers Companies Hardware IP Semiconductor Subsystem Suppliers System Integrators Software Responsibility Device drivers, OS Validate architecture(s) & elect semi supplier ECU software Software integration Software development System Integrators will start to request models here Hardware Availability Virtual Platforms as Collaboration Tool Early (Pre-HW) Software Development Actual Platform usage (wireless example) 17
Value Proposition: Higher Quality & Reliability, Lower Cost Companies Software IP / Software Suppliers Hardware IP Semiconductor Subsystem Suppliers System Integrators Technical Concerns Architecture analysis Feature definition, get designed in by semiconductor house Architecture analysis Feature definition, to get designed in by parts suppliers Software development productivity Quality & reliability Software development productivity Quality & reliability Software Responsibility Device drivers, OS Validate architecture(s) & elect semi supplier ECU software Software integration Some: Proprietary OS plus all development Virtual Platform Value Early supplier feedback Architecture trade-offs Early supplier feedback Improve software productivity Architecture trade-offs Reduce cycle time Improve quality More time to test Systematic test methodology Improve software productivity Reduce cost Less bench time Reduce need for prototype Early access Reduce cycle time Improve quality More time to test Systematic test methodology. Improve software productivity Reduce cost Less bench time Reduce need for prototype 18
Summary Virtual Platforms Address Automotive Challenges Model-based design for software development Front load the design & reduce cycle time Foster supply chain collaboration Higher quality & reliability, lower cost Synopsys offers tools, libraries & services to enable virtual platforms 19