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.
Description
Model of the UART peripheral used on the Freescale Vybrid platform
Limitations
Provides the base behaviour for the OVP Freescale Vybrid platforms
Reference
Development based on document number: VYBRIDRM Rev. 5, 07/2013
Licensing
Open Source Apache 2.0
Location
The VybridUART peripheral model is located in an Imperas/OVP installation at the VLNV: freescale.ovpworld.org / peripheral / VybridUART / 1.0.
Peripheral Instance Parameters
This model accepts the following parameters:
Table : Peripheral Parameters
Name | Type | Description |
---|
directReadWrite | bool | Enable the use of the DirectRead and DirectWrite connections |
fifoSize | uns32 | Size of fifos (default 128) |
moduleClkFreq | uns32 | Frequency (in hertz) of module clock used in baud rate calculation (default=10.2 MHz) |
console | bool | If specified, port number is ignored, and a console pops up automatically |
client | bool | If true, model is a client and will connect to portnum. If false, model is a server and will listen on portnum. |
portnum | uns32 | If 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. |
hostname | string | Name (or IP address) of host to connect to. Valid if listen=true |
infile | string | Name of file to use for device source |
outfile | string | Name of file to write device output |
portFile | string | If portnum was specified as zero, write the port number to this file when it's known |
log | bool | If specified, serial output will go to simulator log |
finishOnDisconnect | bool | If set, disconnecting the port will cause the simulation to finish |
connectnonblocking | bool | If set, simulation can begin before the connection is made |
xchars | uns32 | Width of console in characters |
ychars | uns32 | Height of console in characters |
record | string | Record external events into this file |
replay | string | Replay external events from this file |
Net Ports
This model has the following net ports:
Table 1: Net Ports
Name | Type | Must Be Connected | Description |
---|
DirectWrite | output | F (False) | |
DirectRead | input | F (False) | |
Interrupt | output | F (False) | |
Reset | input | F (False) | |
Bus Slave Ports
This model has the following bus slave ports:
Bus Slave Port: bport1
Table 2: Bus Slave Port: bport1
Name | Size (bytes) | Must Be Connected | Description |
---|
bport1 | 0x1000 | F (False) | |
Table 3: Bus Slave Port: bport1 Registers:
Name | Offset | Width (bits) | Description | R/W | is Volatile |
---|
ab_BDH | 0x0 | 8 | UART Baud Rate Registers:High, offset: 0x0 | | |
ab_BDL | 0x1 | 8 | UART Baud Rate Registers: Low, offset: 0x1 | | |
ab_C1 | 0x2 | 8 | UART Control Register 1, offset: 0x2 | | |
ab_C2 | 0x3 | 8 | UART Control Register 2, offset: 0x3 | | |
ab_S1 | 0x4 | 8 | UART Status Register 1, offset: 0x4 | | |
ab_S2 | 0x5 | 8 | UART Status Register 2, offset: 0x5 | | |
ab_C3 | 0x6 | 8 | UART Control Register 3, offset: 0x6 | | |
ab_D | 0x7 | 8 | UART Data Register, offset: 0x7 | | |
ab_MA1 | 0x8 | 8 | UART Match Address Registers 1, offset: 0x8 | | |
ab_MA2 | 0x9 | 8 | UART Match Address Registers 2, offset: 0x9 | | |
ab_C4 | 0xa | 8 | UART Control Register 4, offset: 0xA | | |
ab_C5 | 0xb | 8 | UART Control Register 5, offset: 0xB | | |
ab_ED | 0xc | 8 | UART Extended Data Register, offset: 0xC | | |
ab_MODEM | 0xd | 8 | UART Modem Register, offset: 0xD | | |
ab_IR | 0xe | 8 | UART Infrared Register, offset: 0xE | | |
ab_PFIFO | 0x10 | 8 | UART FIFO Parameters, offset: 0x10 | | |
ab_CFIFO | 0x11 | 8 | UART FIFO Control Register, offset: 0x11 | | |
ab_SFIFO | 0x12 | 8 | UART FIFO Status Register, offset: 0x12 | | |
ab_TWFIFO | 0x13 | 8 | UART FIFO Transmit Watermark, offset: 0x13 | | |
ab_TCFIFO | 0x14 | 8 | UART FIFO Transmit Count, offset: 0x14 | | |
ab_RWFIFO | 0x15 | 8 | UART FIFO Receive Watermark, offset: 0x15 | | |
ab_RCFIFO | 0x16 | 8 | UART FIFO Receive Count, offset: 0x16 | | |
ab_C7816 | 0x18 | 8 | UART 7816 Control Register, offset: 0x18 | | |
ab_IE7816 | 0x19 | 8 | UART 7816 Interrupt Enable Register, offset: 0x19 | | |
ab_IS7816 | 0x1a | 8 | UART 7816 Interrupt Status Register, offset: 0x1A | | |
ab_WP7816T0 | 0x1b | 8 | UART 7816 Wait Parameter Register, offset: 0x1B | | |
ab_WN7816 | 0x1c | 8 | UART 7816 Wait N Register, offset: 0x1C | | |
ab_WF7816 | 0x1d | 8 | UART 7816 Wait FD Register, offset: 0x1D | | |
ab_ET7816 | 0x1e | 8 | UART 7816 Error Threshold Register, offset: 0x1E | | |
ab_TL7816 | 0x1f | 8 | UART 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'