<<

OpenOpen VirtualVirtual PlatformsPlatforms (OVP)(OVP) AnAn IntroductionIntroduction andand OverviewOverview

[email protected]

Dec 2011

Page 1 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 TheThe growinggrowing challengechallenge

ƒ SW content of electronic products grows dramatically ƒ Millions and millions lines code ƒ In 2007 SW dev costs exceeds HW design costs for SoC ICs

Examining the economics of building next-generation mobile handsets with Linux By: Bill Weinber, Jun. 14, 2005 11:00 AM, linux.sys-con.com

ƒ and the software needs to run faster and faster to provide more and more functionality

Source: Xilinx

Page 3 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 TheThe realreal solutionsolution isis MultiMulti--CoreCore

“Von Neumann is a poor use of scaling – all the energy is going on the communication between the and the memory. Its much better to use 20 running at 100MHz than one at 2GHz” Hugo de Man, IMEC

ƒ Early movers have been building multi-core standard processors

ƒ And more and more System on Chips (SoCs) and Platform chips are becoming multicore

Page 4 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 ProcessorProcessor countcount predictedpredicted toto increaseincrease dramaticallydramatically Source: ITRS 2006 Update 2006 ITRS Source: Engine DPE: Data Processing

Page 5 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 EmbeddedEmbedded SoftwareSoftware forfor MPSoCsMPSoCs:: AnAn extremeextreme challenge!challenge!

“30 to 50 per cent of R&D budgets are spent on software, and the cost is rising 20 per cent a year. The software effort overtakes the hardware effort at 130nm.” Jack Browne, MIPS Technologies

“Some say we are at a crisis stage with the software side overwhelming the hardware side. Driving some of this is the proliferation of cores in system-on-chip (SoC) devices.” Steve Roddy, Tensilica SW problems delay SoC revenues, impacting IP developer royalties

Page 6 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 ProductizingProductizing MPSoCsMPSoCs

• So what does the future hold for software that is to run on these multi-core chips? • Understanding what the future could look like, how can we make that better?

Page 7 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 CurrentCurrent SoCSoC (Software(Software onon Chip!)Chip!) developmentdevelopment methodologymethodology

ƒ Start developing in parallel with hardware ƒ But cannot test software ƒ Get chip or FPGA on prototype board ƒ The hardware is always far too late in the product development cycle ƒ Also it is a limited, unreliable and not up to date prototype / platform ƒ Connect up to port ƒ Then there is a real challenge in verifying and MP software ƒ Lack of controllability, visibility, precision ƒ And poor MP support ƒ More and more teams scrabbling about in looking for a better solution

Ö Moving to Virtual Platforms for earlier testing of software Ö If initial testing of software is done on Virtual Platform, could reduce SoC schedule by months, and reduce initial development and maintenance costs significantly for SoC embedded software

Page 8 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 Observation:Observation: NewNew EmbeddedEmbedded SoftwareSoftware DevelopmentDevelopment ToolsTools neededneeded (especially(especially forfor multicore)multicore)

Phase 4: better programming

l, paradigms and tools to address e d n parallel programming and multicore o io M t platform issues g a in m to m u Phase 3: manage/deliver application m A a r , g ls software for heterogeneous o o The current r o platforms P T ch market is en kb Phase 2: next generation functionality or

Abstraction and Efficiency here W built on base – verification solutions for software development , ation erific - new products from new companies V g Debu lysis & Ana Phase 1: simulate platforms at speed for OS porting, driver and application development Virtual platform: multicore simulation, - virtual platforms user modeling, model library

The Four Steps to the MP Epiphany™ Adoption over time

Page 9 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 VirtualVirtual PlatformsPlatforms MarketMarket GrowsGrows FastFast

ƒ “Virtual Platform and simulation tools are the fastest growing segment of the electronic system level tools market …” ƒ “28 percent of respondents are using virtual prototyping today, and 44 percent expect to use it within the next two years.” ƒ “The challenge of designing and testing software earlier in the design is becoming an increasingly significant factor, especially in cases where the hardware environment may be extremely complex or not yet available.”

ƒ Matt Volckmann, Senior Analyst with VDC's embedded software practice,

Ö Big demand currently and near future Ö But for what virtual platform technology?

Page 10 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 VirtualVirtual PlatformsPlatforms TypesTypes

ƒ Hardware Virtual Platforms ƒ Timing / Cycle accurate ƒ Used for architecture performance analysis, drivers, ƒ Models are very complex, slow, time consuming to build ƒ SystemC etc ƒ Main value is same performance as RTL, no license cost…

ƒ Software Virtual Platforms ƒ Instruction accurate ƒ Used for OS, applications ƒ Can be very fast, programmers views ƒ Model only what is needed in peripherals ƒ Complete system environment

Page 11 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 WhatWhat isis needed?needed?

ƒ Open way of modeling needed for Virtual Platforms ƒ Targeted at Instruction Accurate Software Virtual Platform need ƒ Easy to use, high level, 100s of MIPS ƒ Covers complexity of current designs easily ƒ Built-in interoperability for models from different developers ƒ Proven and in use technology ƒ Methodology that leads to an ecosystem ƒ Ability to enable model builders to protect IP ƒ Interfaces that enable the growth of tool chains ƒ Tools that provide verification, debug, analysis of embedded sw ƒ Backwards compatible with legacy solutions

Page 13 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 IntroducingIntroducing OPENOPEN VIRTUALVIRTUAL PLATFORMSPLATFORMS

ƒ “Imperas believes that software virtual platform infrastructure should be open and be freely available. ƒ To that end, we are sharing, making public, and making open our simulation infrastructure technologies with the intention of establishing a common, platform for software virtual platforms for software developers. ƒ We are also placing many complex processor and peripheral models in . ƒ Imperas will support and manage the OVP site, and will contribute much of our innovation to keep this infrastructure evolving. ƒ However, it is not solely through our efforts that these technologies become successful. Participation of organizations and individuals around the world is critical to the success of OVP.

ƒ We offer our thanks to all those that are participating in this community.”

Simon Davidmann, CEO Imperas and OVP Founder

Page 15 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 VirtualVirtual PlatformsPlatforms (OVP)(OVP) areare thethe foundationfoundation forfor thethe nextnext generationgeneration ofof [embedded][embedded] softwaresoftware developmentdevelopment environmentsenvironments –– especiallyespecially forfor multicoremulticore

Phase 4: better programming

l, paradigms and tools to address e d n parallel programming and multicore o io M t platform issues g a in m to m u Phase 3: manage/deliver application m A a r , g ls software for heterogeneous o o r o platforms OVP fulfils P T ch en this need kb Phase 2: next generation functionality or

Abstraction and Efficiency W built on simulation base – verification solutions for software development , ation erific - new products from new companies V g Debu lysis & Ana Phase 1: simulate platforms at speed for OS porting, driver and application development Virtual platform: multicore simulation, - Open Virtual Platforms user modeling, model library

The Four Steps to the MP Epiphany™ Adoption over time

Page 16 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 RequirementsRequirements onon OVPOVP SoftwareSoftware VirtualVirtual PlatformsPlatforms

ƒ Easy to create virtual platforms of MANY peripherals and MANY processors ƒ Easy to create your own processors, peripherals, platforms ƒ Library of processor and peripheral models ƒ Full programmers views, registers, addressing, interrupts ƒ Model only what is needed in peripherals ƒ are Instruction Accurate, very fast ƒ Used for application, OS, embedded software development ƒ Connect to 3rd party , e.g. GDB ƒ Efficient, Complete system environment for developing embedded software

Page 17 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 WhatWhat isis inin OVP?OVP? ƒ Modeling APIs ƒ Publishing of C OVP APIs for Processor, Peripheral, and Platform modeling ƒ Documentation & header files ƒ Open Source library of models ƒ C source of models written to C OVP APIs ƒ Processor models of ARM, ARC, MIPS, PowerPC, Renesas V850, M16c, Xilinx MicroBlaze, OpenRisc, SPARC, , … ƒ Peripheral models of standard embedded devices ƒ Example embedded platforms in C, C++, SystemC, TLM2.0 ƒ Including full platforms that boot operating systems like uClinux, Linux, Nucleus, Micrium uC/OS-II, FreeRTOS ƒ OVP reference simulator, free for non-commercial use ƒ Runs processor models fast, 500 MIPS typical ƒ Interfaces to GDB via RSP/socket ƒ MP Capable, scalable and very efficient ƒ Can encapsulate existing processor models (ISS) ƒ Callable with C/C++/SystemC/TLM2.0

Page 18 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 OVPOVP SummarySummary

ƒ The key to efficiency for future software development environments is the use of simulation and Virtual Platforms ƒ The availability of high performance, high quality models is critical ƒ The Open Virtual Platforms solution is increasingly important – especially with the move to MP ƒ The Imperas technology donation and formation of OVP kick starts a new phase in embedded software development ƒ OVP provides a fantastic OpenSource modeling solution to be the foundation of the next generation of software development environments ƒ Committed collection of partners developing the ecosystem Ö The most important opening & donation since SystemVerilog

Page 54 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 VisitVisit www.OVPworld.orgwww.OVPworld.org

ƒ Open Source models in Wikki based library, User Forums, Downloads, Presentations, Documentation…

Page 55 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211 FASTFAST SIMULATION,SIMULATION, FREEFREE MODELS,MODELS, EASYEASY TOTO USEUSE http://www.ovpworld.org

Enabling the next generation of embedded [MultiCore] Software Development

Page 57 © 2011 Imperas, Open Virtual Platforms, www.OVPworld.org, v1211