OVPsim
Developer(s) | Imperas |
---|---|
Stable release |
20161005.0
/ 5 October 2016 |
Operating system | Windows, Linux |
Type | Emulator |
License | Proprietary, Apache License version 2.0 for models |
Website |
www |
OVPsim is a multiprocessor platform emulator (often called a full-system simulator) used to run unchanged production binaries of the target hardware. OVPsim uses dynamic binary translation technology to achieve high simulation speeds. It has public APIs allowing users to create their own processor, peripheral and platform models. Various models are available as open source.[1] OVPsim is a key component of the Open Virtual Platforms initiative (OVP),[2] an organization created to promote the use of open virtual platforms for embedded software development. OVPSim requires OVP registration to download.
Licensing
OVPsim is developed and maintained by Imperas.[3] The core simulation platform is proprietary software; it is available free of charge for non-commercial usage,. Commercial usage requires a low-cost license from Imperas to cover maintenance. Various processor, peripheral and platform models are available as free software under the Apache License version 2.0.
Details
There are three main components of OVP: open source models, fast OVPsim simulator, and modeling APIs. These components are designed to make it easy to assemble multi-core heterogeneous or homogeneous platforms with complex memory hierarchies, cache systems and layers of embedded software that can run at hundreds of MIPS on standard desktop PCs. OVPSim is considered instruction accurate, but not cycle-accurate. There are many examples of components, and complete virtual platforms that can boot a Linux Kernel in under 5 seconds at OVP Homepage.
Open source models
Within OVP there are several different model categories. These models are provided as both pre-compiled object code, and as in some cases, source files. OVPsim no longer supplies source code for the ARM and MIPS processor models. Currently there are processor models of ARM (processors using the ARMv4, ARMv5, ARMv6, ARMv7, ARMv8 instruction sets) up to the ARM Cortex-A72MPx4 (and including multi-cluster ARMv8 models with GICv3), Imagination MIPS (processors using MIPS32, MIPS64, microMIPS and MIPS R6 instruction sets) up to the microAptiv, interAptiv, proAptiv, and Warrior cores, Synopsys Virage ARC600/ARC700 and ARC_EM series, Renesas v850, RH850, RL78 and m16c, PowerPC, Altera Nios II, Xilinx MicroBlaze and OpenRisc families. There are also models of many different types of system components including RAM, ROM, cache, and bridge. There are peripheral models such as Ethernet MAC, USB, DMA, UART, and FIFO. Several different pre-built platforms are available, including the most common operating systems[4] ucLinux, Linux, Android, FreeRTOS, Nucleus, Micrium.
One of the main uses of the OVP simulation infrastructure is the ability to create and simulate custom built models—either from scratch, or by using one of the open source models as a starting point. The OVP APIs are tailored to different model types: processors, behavioral models of peripherals, and platforms. There are over 100 source model variants available to download.
OVPsim simulator
The OVPsim is available as an OVP reference and is free for non-commercial usage. The simulator uses dynamic binary translation technology to achieve very high simulation speeds. More than a billion simulated instructions per second is possible, in some cases on regular desktop PC machines. OVPsim is available for x86 Windows and Linux hosts.
OVPsim comes with a GDB RSP interface to allow applications running on simulated processors to be debugged with any standard debugger that supports this GDB RSP interface. OVPsim comes with the Imperas iGui Graphical Debugger and also an Eclipse IDE and CDT interface.
OVPsim can be encapsulated and called from within other simulation environments[5] and comes as standard with interface files for C, C++, and SystemC.[6] OVPsim includes native SystemC TLM2.0 interface files. It is also possible to encapsulate legacy models of processors and behavioral models so that they can be used by OVPsim.
Modeling APIs
OVP models are created using C/C++ APIs. There are three main APIs: OP, VMI, BHM/PPM.
OP
The OP API is designed for controlling, connecting, and observing platforms. This API can be called from C, C++, or SystemC. The platform provides the basic structure of the design and creates, connects, and configures the components. The platform also specifies the address mapping, and software that is loaded on the processors. It is very easy with OP to specify very complex and complete platforms of many different processors, local and shared memories, caches, bus bridges, peripherals and all their complex address maps, interrupts and operating systems and application software.
The OP API will supersede the ICM API during 2016. The ICM API will still be usable for older platforms.
VMI
Processor modeling is provided by the VMI API. These API functions provide the ability to easily describe the behavior of the processor. A processor model written in C using the VMI decodes the target instruction to be simulated and translates this to native x86 instructions that are then executed on the PC. VMI can be used for modeling 8, 16, 32, and 64 bit architectures. There is an interception mechanism enabling emulation of calls to functions in the application runtime libraries (such as write, fstat etc.) without requiring modification of either the processor model or the simulated application.
PPM & BHM
Behavioral components, peripherals, and the overall environment is modeled using C code and calls to these two APIs. Underlying these APIs is an event based scheduling mechanism to enable modeling of time, events, and concurrency. Peripheral models provide callbacks that are called when the application software running on processors modeled in the platform access memory locations where the peripheral is enabled.
Who is using OVPsim
OVPsim is being used by multiple educational establishments to provide a simulation infrastructure for the research of parallel compute platforms,[7][8] hardware software co-design,[9] performance analysis of embedded systems,[10] and as the basis of other embedded tool developments.[11] It is also leveraged for educational courses to allow students to develop and debug application software and create virtual platforms and new models.
A number of leading commercial organizations also use OVPSim as the basis of their product offerings. The technology was licensed by MIPS[12] Technologies to provide modeling support for their MIPS architecture embedded processor range, features in a partnership with leading processor provider ARM,[13][14] and is part of the Europractice[15] product range for general access to European universities. Leading Semiconductor companies such as Renesas have used the simulator for its processor development work, as disclosed in leading electronic industry publications.[16] It was selected by NEPHRON+, an EU research project, for its software and test development environment.[17] VinChip Systems Inc. of Chennai, India used OpenOCD and OVPsim to develop what may be the first 32-bit processor developed in India.[18] The OVP models and virtual platforms form the basis for other activities being undertaken by Imperas.
References
- ↑ "Open Virtual Platforms Component Library". Ovpworld.org. 2012-11-21. Retrieved 2013-05-08.
- ↑ "Open Virtual Platforms". Ovpworld.org. 2012-11-21. Retrieved 2013-05-08.
- ↑ "Imperas". Imperas. 2008-07-02. Retrieved 2013-09-10.
- ↑ "MIPS Linux". Linux MIPS. 2008-11-24. Retrieved 2013-09-10.
- ↑ "Cadence Zynq". Cadence. 2010-04-02. Retrieved 2013-09-10.
- ↑ "There Could Be Value In The Imperas Models". SystemC.org. 2010-02-17. Retrieved 2013-09-19.
- ↑ "Hybrid Simulation Framework for Virtual Prototyping Using OVP, SystemC & SCMLEducation" (PDF). vdtt.iitd.ac.in. 2009-01-11. Retrieved 2013-05-09.
- ↑ Pinto, C.; Raghav, S.; Marongiu, A.; Ruggiero, M.; Atienza, D.; Benini, L. (2011). "GPGPU-Accelerated Parallel and Fast Simulation of Thousand-Core Platforms". 2011 11th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (PDF). pp. 53–62. doi:10.1109/CCGrid.2011.64. ISBN 978-1-4577-0129-0.
- ↑ Nita, I.; Lazarescu, V.; Constantinescu, R. (2009). "A new Hw/Sw co-design method for multiprocessor system on chip applications". 2009 International Symposium on Signals, Circuits and Systems. pp. 1–4. doi:10.1109/ISSCS.2009.5206089. ISBN 978-1-4244-3785-6.
- ↑ "Using OVPSim for the power estimation of complex RISC based platforms". www.embedded.com. 2012-12-16. Retrieved 2013-05-08.
- ↑ Ranka, G. K.; Jain, M. K. (June 2011). "A Validation of Sim-A using OVPSim". Journal of Global Research in Computer Science. 2 (6): 93–100. Retrieved 2013-06-26.
- ↑ "MIPS Technologies Signs License to Distribute OEM Version of the Imperas OVP Simulator". Bloomberg.com. 2011-02-24. Retrieved 2013-06-26.
- ↑ "OVPsim by Imperas Software Ltd". ARM Connected Community. 2012-01-01. Retrieved 2013-06-26.
- ↑ "Imperas Preps Fast Models of ARM Cortex-A15 Processor". EETimes. 2012-03-08. Retrieved 2013-09-19.
- ↑ "Europractice OVPsim Datasheet" (PDF). EuroPractice. 2012-11-10. Retrieved 2013-09-10.
- ↑ "Processor Models Aid Automotive Software Testing". EETimes. 2011-10-14. Retrieved 2013-09-10.
- ↑ Maxfield, Clive (May 15, 2012). "Open Virtual Platforms Selected by EU research project". EE Times. Retrieved 2013-08-30.
- ↑ "'First' India-developed 32-bit processor debuts". EE Times-India. 24 Jun 2009.
... VinChip Systems Inc. has released ..., which it claims is the first 32-bit processor to be developed in India. ... Support for virtual prototyping has been provided by the ... OVPsim simulator ...
External links
- Official website
- Imperas multi-core debug and profiling tools that use OVP models
- OVPsim used in emulation of MIPS Malta Platform
- Europractice