OVP Peripheral Model: OVPTemperatureSensor

Model Specific Information

This page provides introductory usage information for an Imperas OVP peripheral behavioral model. The page is split into sections providing specific information for this peripheral, including any ports for connecting into a platform, registers, other component parts, and configuration options and general information for peripheral modeling with Imperas OVP.


Open Source Apache 2.0


A single read-only register provides a temperature value in a format in which bit 31 when set indicates a negative temperature and the value represents temperature x100.

Simple test peripheral to illustrate the way in which test data can be used, in this case to display a temperature value.


This is not based upon a real device


The temperatureSensor peripheral model is located in an Imperas/OVP installation at the VLNV: / peripheral / temperatureSensor / 1.0.

Peripheral Instance Parameters

This model accepts the following parameters:

Table : Peripheral Parameters

httpvisdirstringSpecify an alternative directory for visualization data
httpvisportnumuns32Specify the HTTP port number
ratechangedoubleThe temperature will change at a rate of degree Centigrade per second according to this parameter (default 1)
datafilestringDescription The temperature change over time can be defined by a set of values in a file. The file format contains a simulation time and a temperature on each line in readable ascii format e.g. 10.1 27.45 indicates at time 10.1 seconds set temperature to 27.45 oC.
maxtempdoubleused to set the maximum temperature reached when using rate increase (default 60)
inittempdoubleused to set the initial temperature reading (default 30)
recordstringRecord external events into this file
replaystringReplay external events from this file

Net Ports

This model has the following net ports:

Table 1: Net Ports

NameTypeMust Be ConnectedDescription
resetinputF (False)Reset signal

Bus Slave Ports

This model has the following bus slave ports:

Bus Slave Port: busPort

Table 2: Bus Slave Port: busPort

NameSize (bytes)Must Be ConnectedDescription
busPort0x4T (True)

Table 3: Bus Slave Port: busPort Registers:

NameOffsetWidth (bits)DescriptionR/Wis Volatile
A_data0x032Temperature value data register

Page was generated in 0.0121 seconds