<s>
OVPsim	B-Application
is	O
a	O
multiprocessor	B-Operating_System
platform	B-Device
emulator	B-Application
(	O
often	O
called	O
a	O
full-system	B-Application
simulator	I-Application
)	O
used	O
to	O
run	O
unchanged	O
production	O
binaries	O
of	O
the	O
target	O
hardware	O
.	O
</s>
<s>
It	O
has	O
public	O
APIs	B-Application
allowing	O
users	O
to	O
create	O
their	O
own	O
processor	B-General_Concept
,	O
peripheral	O
and	O
platform	B-Device
models	O
.	O
</s>
<s>
Various	O
models	O
are	O
available	O
as	O
open	B-License
source	I-License
.	O
</s>
<s>
OVPsim	B-Application
is	O
a	O
key	O
component	O
of	O
the	O
Open	O
Virtual	O
Platforms	B-Device
initiative	O
(	O
OVP	O
)	O
,	O
an	O
organization	O
created	O
to	O
promote	O
the	O
use	O
of	O
open	O
virtual	O
platforms	B-Device
for	O
embedded	O
software	O
development	O
.	O
</s>
<s>
OVPsim	B-Application
requires	O
OVP	O
registration	O
to	O
download	O
.	O
</s>
<s>
OVPsim	B-Application
is	O
developed	O
and	O
maintained	O
by	O
Imperas	O
.	O
</s>
<s>
The	O
core	O
simulation	O
platform	B-Device
is	O
proprietary	B-Application
software	I-Application
;	O
it	O
is	O
available	O
free	O
of	O
charge	O
for	O
non-commercial	O
usage	O
.	O
</s>
<s>
Various	O
processor	B-General_Concept
,	O
peripheral	O
and	O
platform	B-Device
models	O
are	O
available	O
as	O
free	B-Application
software	I-Application
under	O
the	O
Apache	B-Application
License	I-Application
version	I-Application
2.0	I-Application
.	O
</s>
<s>
There	O
are	O
three	O
main	O
components	O
of	O
OVP	O
:	O
open-source	B-License
models	I-License
,	O
fast	O
OVPsim	B-Application
simulator	O
,	O
and	O
modeling	O
APIs	B-Application
.	O
</s>
<s>
These	O
components	O
are	O
designed	O
to	O
make	O
it	O
easy	O
to	O
assemble	O
multi-core	O
heterogeneous	O
or	O
homogeneous	O
platforms	B-Device
with	O
complex	O
memory	O
hierarchies	O
,	O
cache	O
systems	O
and	O
layers	O
of	O
embedded	O
software	O
that	O
can	O
run	O
at	O
hundreds	O
of	O
MIPS	B-Device
on	O
standard	O
desktop	O
PCs	O
.	O
</s>
<s>
OVPSim	B-Application
is	O
considered	O
instruction	B-Application
accurate	I-Application
,	O
but	O
not	O
cycle-accurate	O
.	O
</s>
<s>
There	O
are	O
many	O
examples	O
of	O
components	O
,	O
and	O
complete	O
virtual	O
platforms	B-Device
that	O
can	O
boot	O
a	O
Linux	B-Application
Kernel	O
in	O
under	O
5	O
seconds	O
at	O
OVP	O
Homepage	O
.	O
</s>
<s>
OVPsim	B-Application
no	O
longer	O
supplies	O
source	O
code	O
for	O
the	O
ARM	B-Architecture
and	O
MIPS	B-Device
processor	B-General_Concept
models	O
.	O
</s>
<s>
Currently	O
there	O
are	O
processor	B-General_Concept
models	O
of	O
ARM	B-Architecture
(	O
processors	O
using	O
the	O
ARMv4	O
,	O
ARMv5	O
,	O
ARMv6	O
,	O
ARMv7	O
,	O
ARMv8	O
instruction	O
sets	O
)	O
up	O
to	O
the	O
ARM	B-Architecture
Cortex-A72MPx4	O
(	O
and	O
including	O
multi-cluster	O
ARMv8	O
models	O
with	O
GICv3	O
)	O
,	O
Imagination	O
MIPS	B-Device
(	O
processors	O
using	O
MIPS32	O
,	O
MIPS64	O
,	O
microMIPS	O
,	O
nanoMIPS	O
and	O
MIPS	B-Device
R6	O
instruction	O
sets	O
)	O
up	O
to	O
the	O
microAptiv	O
,	O
interAptiv	O
,	O
proAptiv	O
,	O
and	O
Warrior	O
cores	O
,	O
Synopsys	O
Virage	B-Application
ARC600/ARC700	O
and	O
ARC	B-Application
EM	O
series	O
,	O
Renesas	B-Device
v850	I-Device
,	O
RH850	O
,	O
RL78	O
and	O
m16c	O
,	O
PowerPC	B-Architecture
,	O
Altera	B-Device
Nios	I-Device
II	I-Device
,	O
Xilinx	B-Device
MicroBlaze	I-Device
,	O
RISC-V	B-Device
(	O
models	O
using	O
32bit	O
RV32I	O
,	O
RV32M	O
,	O
RV32IM	O
,	O
RV32A	O
,	O
RV32IMA	O
,	O
RV32IMAC	O
,	O
RV32F	O
,	O
RV32D	O
,	O
RV32E	O
,	O
RV32EC	O
,	O
RV32C	O
,	O
RV32G	O
,	O
RV32GC	O
,	O
RV32GCN	O
,	O
RV32IMAFD	O
and	O
64bit	O
RV64I	O
,	O
RV64M	O
,	O
RV64IMAC	O
,	O
RV64F	O
,	O
RV64D	O
,	O
RV64C	O
,	O
RV64G	O
,	O
RV64GC	O
,	O
RV64GCN	O
,	O
RV64IMAFD	O
ISA	O
subsets	O
)	O
,	O
Andes	O
Technology	O
N25/NX25	O
,	O
N25F/NX25F	O
,	O
A25/AX25	O
,	O
A25F/AX25F	O
,	O
Microsemi	O
CoreRISCV/MiV	O
-RV32IMA	O
,	O
SiFive	O
E31	O
,	O
E51	O
,	O
U54	O
,	O
U54-MC	O
,	O
Freedom	O
U540	O
,	O
Codasip	O
Series	O
1	O
,	O
3	O
,	O
5	O
,	O
7	O
RISC-V	B-Device
cores	O
,	O
Intel	O
NiosV	O
RISC-V	B-Device
core	O
,	O
Texas	O
Instruments	O
TMS320	O
DSP	O
,	O
and	O
OpenRisc	B-Device
families	O
.	O
</s>
<s>
The	O
OpenHW	O
Group	O
uses	O
OVPsim	B-Application
as	O
the	O
golden	O
reference	O
for	O
their	O
open	B-License
source	I-License
RISC-V	B-Device
CV32E40	O
and	O
CV32E20	O
cores	O
.	O
</s>
<s>
Several	O
different	O
pre-built	O
platforms	B-Device
are	O
available	O
,	O
including	O
the	O
most	O
common	O
operating	O
systems	O
ucLinux	B-Application
,	O
Linux	B-Application
,	O
Android	B-Application
,	O
FreeRTOS	B-Operating_System
,	O
Nucleus	B-Operating_System
,	O
Micrium	O
.	O
</s>
<s>
One	O
of	O
the	O
main	O
uses	O
of	O
the	O
OVP	O
simulation	O
infrastructure	O
is	O
the	O
ability	O
to	O
create	O
and	O
simulate	O
custom	O
built	O
models	O
—	O
either	O
from	O
scratch	O
,	O
or	O
by	O
using	O
one	O
of	O
the	O
open	B-License
source	I-License
models	I-License
as	O
a	O
starting	O
point	O
.	O
</s>
<s>
The	O
OVP	O
APIs	B-Application
are	O
tailored	O
to	O
different	O
model	O
types	O
:	O
processors	O
,	O
behavioral	O
models	O
of	O
peripherals	O
,	O
and	O
platforms	B-Device
.	O
</s>
<s>
There	O
are	O
over	O
100	O
source	B-License
model	I-License
variants	O
available	O
to	O
download	O
.	O
</s>
<s>
The	O
OVPsim	B-Application
simulator	O
is	O
available	O
as	O
an	O
OVP	O
reference	O
and	O
is	O
free	O
for	O
non-commercial	O
usage	O
.	O
</s>
<s>
OVPsim	B-Application
is	O
available	O
for	O
x86	B-Operating_System
Windows	B-Application
and	O
Linux	B-Application
hosts	O
.	O
</s>
<s>
OVPsim	B-Application
comes	O
with	O
a	O
GDB	B-Language
RSP	O
(	O
Remote	O
Serial	O
Protocol	O
)	O
interface	O
to	O
allow	O
applications	O
running	O
on	O
simulated	O
processors	O
to	O
be	O
debugged	O
with	O
any	O
standard	O
debugger	O
that	O
supports	O
this	O
GDB	B-Language
RSP	O
interface	O
.	O
</s>
<s>
OVPsim	B-Application
comes	O
with	O
the	O
Imperas	O
iGui	O
Graphical	O
Debugger	O
and	O
also	O
an	O
Eclipse	O
IDE	O
and	O
CDT	O
interface	O
.	O
</s>
<s>
OVPsim	B-Application
can	O
be	O
encapsulated	O
and	O
called	O
from	O
within	O
other	O
simulation	O
environments	O
and	O
comes	O
as	O
standard	O
with	O
interface	O
files	O
for	O
C	B-Language
,	O
C++	B-Language
,	O
and	O
SystemC	B-Language
.	O
</s>
<s>
OVPsim	B-Application
includes	O
native	O
SystemC	B-Language
TLM2.0	O
interface	O
files	O
.	O
</s>
<s>
It	O
is	O
also	O
possible	O
to	O
encapsulate	O
legacy	O
models	O
of	O
processors	O
and	O
behavioral	O
models	O
so	O
that	O
they	O
can	O
be	O
used	O
by	O
OVPsim	B-Application
.	O
</s>
<s>
OVP	O
models	O
are	O
created	O
using	O
C/C	O
++	O
APIs	B-Application
.	O
</s>
<s>
There	O
are	O
three	O
main	O
APIs	B-Application
:	O
OP	O
,	O
VMI	O
,	O
BHM/PPM	O
.	O
</s>
<s>
The	O
OP	O
API	B-Application
is	O
designed	O
for	O
controlling	O
,	O
connecting	O
,	O
and	O
observing	O
platforms	B-Device
.	O
</s>
<s>
This	O
API	B-Application
can	O
be	O
called	O
from	O
C	B-Language
,	O
C++	B-Language
,	O
or	O
SystemC	B-Language
.	O
</s>
<s>
The	O
platform	B-Device
provides	O
the	O
basic	O
structure	O
of	O
the	O
design	O
and	O
creates	O
,	O
connects	O
,	O
and	O
configures	O
the	O
components	O
.	O
</s>
<s>
The	O
platform	B-Device
also	O
specifies	O
the	O
address	O
mapping	O
,	O
and	O
software	O
that	O
is	O
loaded	O
on	O
the	O
processors	O
.	O
</s>
<s>
It	O
is	O
very	O
easy	O
with	O
OP	O
to	O
specify	O
very	O
complex	O
and	O
complete	O
platforms	B-Device
of	O
many	O
different	O
processors	O
,	O
local	O
and	O
shared	O
memories	O
,	O
caches	O
,	O
bus	O
bridges	O
,	O
peripherals	O
and	O
all	O
their	O
complex	O
address	O
maps	O
,	O
interrupts	O
and	O
operating	O
systems	O
and	O
application	O
software	O
.	O
</s>
<s>
The	O
OP	O
API	B-Application
superseded	O
the	O
ICM	O
API	B-Application
during	O
2016	O
.	O
</s>
<s>
The	O
ICM	O
API	B-Application
is	O
still	O
usable	O
for	O
older	O
platforms	B-Device
.	O
</s>
<s>
Processor	B-General_Concept
modeling	O
is	O
provided	O
by	O
the	O
VMI	O
API	B-Application
.	O
</s>
<s>
These	O
API	B-Application
functions	I-Application
provide	O
the	O
ability	O
to	O
easily	O
describe	O
the	O
behavior	O
of	O
the	O
processor	B-General_Concept
.	O
</s>
<s>
A	O
processor	B-General_Concept
model	O
written	O
in	O
C	B-Language
using	O
the	O
VMI	O
decodes	O
the	O
target	O
instruction	O
to	O
be	O
simulated	O
and	O
translates	O
this	O
to	O
native	O
x86	B-Operating_System
instructions	O
that	O
are	O
then	O
executed	O
on	O
the	O
PC	O
.	O
</s>
<s>
There	O
is	O
an	O
interception	O
mechanism	O
enabling	O
emulation	B-Application
of	O
calls	O
to	O
functions	O
in	O
the	O
application	O
runtime	O
libraries	O
(	O
such	O
as	O
write	O
,	O
fstat	O
etc	O
.	O
)	O
</s>
<s>
without	O
requiring	O
modification	O
of	O
either	O
the	O
processor	B-General_Concept
model	O
or	O
the	O
simulated	O
application	O
.	O
</s>
<s>
Behavioral	O
components	O
,	O
peripherals	O
,	O
and	O
the	O
overall	O
environment	O
is	O
modeled	O
using	O
C	B-Language
code	O
and	O
calls	O
to	O
these	O
two	O
APIs	B-Application
.	O
</s>
<s>
Underlying	O
these	O
APIs	B-Application
is	O
an	O
event	O
based	O
scheduling	O
mechanism	O
to	O
enable	O
modeling	O
of	O
time	O
,	O
events	O
,	O
and	O
concurrency	O
.	O
</s>
<s>
Peripheral	O
models	O
provide	O
callbacks	O
that	O
are	O
called	O
when	O
the	O
application	O
software	O
running	O
on	O
processors	O
modeled	O
in	O
the	O
platform	B-Device
access	O
memory	O
locations	O
where	O
the	O
peripheral	O
is	O
enabled	O
.	O
</s>
<s>
OVPsim	B-Application
is	O
being	O
used	O
by	O
multiple	O
educational	O
establishments	O
to	O
provide	O
a	O
simulation	O
infrastructure	O
for	O
the	O
research	O
of	O
parallel	O
computing	B-Device
platforms	I-Device
,	O
hardware/software	O
co-design	O
,	O
performance	O
analysis	O
of	O
embedded	O
systems	O
,	O
and	O
as	O
the	O
basis	O
of	O
other	O
embedded	O
tool	O
developments	O
.	O
</s>
<s>
It	O
is	O
also	O
leveraged	O
for	O
educational	O
courses	O
to	O
allow	O
students	O
to	O
develop	O
and	O
debug	O
application	O
software	O
and	O
create	O
virtual	O
platforms	B-Device
and	O
new	O
models	O
.	O
</s>
<s>
A	O
number	O
of	O
leading	O
commercial	O
organizations	O
also	O
use	O
OVPsim	B-Application
as	O
the	O
basis	O
of	O
their	O
product	O
offerings	O
.	O
</s>
<s>
The	O
technology	O
was	O
licensed	O
by	O
MIPS	B-Device
Technologies	O
to	O
provide	O
modeling	O
support	O
for	O
their	O
MIPS	B-Device
architecture	I-Device
embedded	O
processor	B-General_Concept
range	O
,	O
features	O
in	O
a	O
partnership	O
with	O
leading	O
processor	B-General_Concept
provider	O
ARM	B-Architecture
,	O
and	O
is	O
part	O
of	O
the	O
Europractice	O
product	O
range	O
for	O
general	O
access	O
to	O
European	O
universities	O
.	O
</s>
<s>
A	O
version	O
of	O
OVPsim	B-Application
is	O
used	O
by	O
the	O
RISC-V	B-Device
Foundation	I-Device
's	O
Compliance	O
Working	O
Group	O
as	O
a	O
reference	O
simulator	O
.	O
</s>
<s>
Leading	O
Semiconductor	O
companies	O
such	O
as	O
Renesas	O
have	O
used	O
the	O
simulator	O
for	O
its	O
processor	B-General_Concept
development	O
work	O
,	O
as	O
disclosed	O
in	O
leading	O
electronic	O
industry	O
publications	O
.	O
</s>
<s>
VinChip	O
Systems	O
Inc	O
.	O
of	O
Chennai	O
,	O
India	O
used	O
OpenOCD	O
and	O
OVPsim	B-Application
to	O
develop	O
what	O
may	O
be	O
the	O
first	O
32-bit	O
processor	B-General_Concept
developed	O
in	O
India	O
.	O
</s>
<s>
The	O
OVP	O
models	O
and	O
virtual	O
platforms	B-Device
form	O
the	O
basis	O
for	O
other	O
activities	O
being	O
undertaken	O
by	O
Imperas	O
.	O
</s>
