OVP Peripheral Model: FreescaleVybridUART

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.


Model of the UART peripheral used on the Freescale Vybrid platform


Provides the base behaviour for the OVP Freescale Vybrid platforms


Development based on document number: VYBRIDRM Rev. 5, 07/2013


Open Source Apache 2.0


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

Peripheral Instance Parameters

This model accepts the following parameters:

Table : Peripheral Parameters

directReadWriteboolEnable the use of the DirectRead and DirectWrite connections
fifoSizeuns32Size of fifos (default 128)
moduleClkFrequns32Frequency (in hertz) of module clock used in baud rate calculation (default=10.2 MHz)
consoleboolIf specified, port number is ignored, and a console pops up automatically
clientboolIf true, model is a client and will connect to portnum. If false, model is a server and will listen on portnum.
portnumuns32If set, listen on, or connect to, this port. If set to zero in listen mode, allocate a port from the pool and listen on that.
hostnamestringName (or IP address) of host to connect to. Valid if listen=true
infilestringName of file to use for device source
outfilestringName of file to write device output
portFilestringIf portnum was specified as zero, write the port number to this file when it's known
logboolIf specified, serial output will go to simulator log
finishOnDisconnectboolIf set, disconnecting the port will cause the simulation to finish
connectnonblockingboolIf set, simulation can begin before the connection is made
xcharsuns32Width of console in characters
ycharsuns32Height of console in characters
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
DirectWriteoutputF (False)
DirectReadinputF (False)
InterruptoutputF (False)
ResetinputF (False)

Bus Slave Ports

This model has the following bus slave ports:

Bus Slave Port: bport1

Table 2: Bus Slave Port: bport1

NameSize (bytes)Must Be ConnectedDescription
bport10x1000F (False)

Table 3: Bus Slave Port: bport1 Registers:

NameOffsetWidth (bits)DescriptionR/Wis Volatile
ab_BDH0x08UART Baud Rate Registers:High, offset: 0x0
ab_BDL0x18UART Baud Rate Registers: Low, offset: 0x1
ab_C10x28UART Control Register 1, offset: 0x2
ab_C20x38UART Control Register 2, offset: 0x3
ab_S10x48UART Status Register 1, offset: 0x4
ab_S20x58UART Status Register 2, offset: 0x5
ab_C30x68UART Control Register 3, offset: 0x6
ab_D0x78UART Data Register, offset: 0x7
ab_MA10x88UART Match Address Registers 1, offset: 0x8
ab_MA20x98UART Match Address Registers 2, offset: 0x9
ab_C40xa8UART Control Register 4, offset: 0xA
ab_C50xb8UART Control Register 5, offset: 0xB
ab_ED0xc8UART Extended Data Register, offset: 0xC
ab_MODEM0xd8UART Modem Register, offset: 0xD
ab_IR0xe8UART Infrared Register, offset: 0xE
ab_PFIFO0x108UART FIFO Parameters, offset: 0x10
ab_CFIFO0x118UART FIFO Control Register, offset: 0x11
ab_SFIFO0x128UART FIFO Status Register, offset: 0x12
ab_TWFIFO0x138UART FIFO Transmit Watermark, offset: 0x13
ab_TCFIFO0x148UART FIFO Transmit Count, offset: 0x14
ab_RWFIFO0x158UART FIFO Receive Watermark, offset: 0x15
ab_RCFIFO0x168UART FIFO Receive Count, offset: 0x16
ab_C78160x188UART 7816 Control Register, offset: 0x18
ab_IE78160x198UART 7816 Interrupt Enable Register, offset: 0x19
ab_IS78160x1a8UART 7816 Interrupt Status Register, offset: 0x1A
ab_WP7816T00x1b8UART 7816 Wait Parameter Register, offset: 0x1B
ab_WN78160x1c8UART 7816 Wait N Register, offset: 0x1C
ab_WF78160x1d8UART 7816 Wait FD Register, offset: 0x1D
ab_ET78160x1e8UART 7816 Error Threshold Register, offset: 0x1E
ab_TL78160x1f8UART 7816 Transmit Length Register, offset: 0x1F

Platforms that use this peripheral component

Peripheral components can be used in many different platforms, including those developed by Imperas or by other users of OVP. You can use this peripheral in your own platforms.

Table 4: Publicly available platforms using peripheral 'VybridUART'

Platform NameVendor

Page was generated in 0.0174 seconds