More Related Content
Similar to Ov psim demo_slides_power_pc
Similar to Ov psim demo_slides_power_pc (20)
Ov psim demo_slides_power_pc
- 1. Open Virtual Platforms (OVP)
Power Architecture
PowerPC Processor
Demonstration Examples
www.OVPworld.org
May 2010
Page 1 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 2. OVP Software Virtual Platforms
Easy to create virtual platforms of many peripherals or
processors
Library of processors, peripheral models and platforms
Full programmers views, registers, addressing, interrupts
Model only what is needed in peripherals
Simulations are Instruction Accurate, very fast
Used for application, OS, embedded software
development
Connect to 3rd party debuggers, e.g. GDB, Eclipse for
application debug
Connect to Imperas Professional tools for high
performance system analysis and verification
Efficient, Complete system environment for developing
embedded software
Page 2 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 3. OVP Support for PowerPC
Platforms / OS Combinations available for free
download
Bare Metal – processor + memory
With libC (newlib) semihosting
Core Instruction Set Model
Initially based on the Freescale MPCxxx
Instruction Set
Models can be used in C, C++, SystemC, and
TLM2.0 platforms
Page 3 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 4. Agenda
Single core demonstrations using bare metal
platforms
Multi-core and many core examples
Use of OVP processor models in SystemC/TLM2.0
Page 4 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 5. Components of single processor
demonstration
In the Directory
platform.c
C code using OVP ICM API to create platform and
instance the processor, memory, busses etc
platform.{architecture}.exe
Compiled and linked platform, includes statically linked
simulator and models
application.c
C code of application that will run on target processor
and will be cross compiled
application.elf
Executable binary of application linked to run on target
processor
Page 5 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 6. OVPsim Example Single
Processor Platform
CPU1 RSP Interface GDB Debug
Provide socket to attach
debugger
Attach GDB to single
instance in platform
Heap
Code
Data
Stack
Easy to run
C:> platform.exe application.elf
Loads application into memory and runs it
On 3GHz PC runs 800 MIPS - 2,000 MIPS
Page 6 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 7. OVPsim multicore2
2 Processor Platform
Application is Fibonacci
Processor
Shared Data
series generated on one
Program
and read by second
Local Memory
processor from shared
memory
Local Memory Local memory
heap and stack
Processor Shared memory
program and data
Easy to create platform and use
C:> platform.exe application.elf
Loads application into shared memory and runs it
On 3GHz PC runs 800 MIPS – 2,000 MIPS
Page 7 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 8. OVPsim manycore24 demo
24 Processor Platform
CPU1 CPU12
Local Memory Local Memory Any number of
processors can be
instantiated in platform
Local Memory Local Memory
No penalty on system
simulation performance
CPU13 CPU24
Easy to create platform and use
C:> platform.exe application.elf
Loads application into local memory and runs it
On 3GHz PC runs 800 MIPS to 2,000 MIPS
Page 8 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 9. OVP SystemC TLM 2.0
Demo OVPsim_single_tlm2.0
platform
CPU instance
icmCpu
OVP
OVP
CPU
CPU Memory
Memory
DecodeBusLT
DecodeBusLT (program1)
(program1)
cpu_1 (m_bus_1)
(m_bus_1)
Memory
Memory
(stack1)
(stack1)
Direct Memory Interface
Quickly execute any program on a ‘default’ platform
Easy to run: C:> platform.exe application.elf
Direct Memory Interface maintains high simulation performance
Very fast – runs 500-1,500 MIPS
Page 9 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 10. Summary
OVP = free models, easy to use high performance simulation, up to
2,000 MIPS (yes 2 Billion Instructions Per Second)
Near or greater than real time performance
Virtual platform easily created & configured in C
Multiple processors, Heterogeneous processors
Shared and local memories, Memory Mapped Components
Peripheral components
Large and growing library of ARM, MIPS, NEC, ARC, PowerPC,
openCores processor models and platforms and their peripherals
Virtualization of host resources allows interaction
With the user via keyboard, mouse, displays etc.
With the ‘real’ world via ethernet, USB etc
Attach debugger to application for familiar software debug
Integrate third party processor models into simulation
Use OVPsim in other environments
C, C++, SystemC, TLM2.0, all supported
Page 10 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 11. Thank you for watching…
Please download the examples, and explore
Visit the forums to see what else is going on with Open
Virtual Platforms
And when you are ready – download the simulator and
documents – and get started building your own very fast
virtual platforms and models
Any questions – please ask in the forum…
www.OVPworld.org
Page 11 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 12. Thank you
Page 12 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 13. Thank you
Page 13 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 14. Thank you
Page 14 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10
- 15. Page 15 © 2010 Imperas Software Ltd. Open Virtual Platforms, www.OVPworld.org Jun-10