OVP Peripheral Model: TiUartInterface
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
UART: Universal Asynchronous Receiver Transmitter This model contains an accurate Register set interface for the TI Stellaris ARM Cortex-M3 based device.
Limitations
The functionality of this model is limited. Basic status flag setting allows character reception and transmission.
Reference
FreeRTOS Cortex-M3 / GCC Port LM3S102 with GCC for Luminary Micros Stellaris microcontrollers http://www.freertos.org/portcortexgcc.html
Licensing
Open Source Apache 2.0
Location
The UartInterface peripheral model is located in an Imperas/OVP installation at the VLNV: ti.ovpworld.org / peripheral / UartInterface / 1.0.
Peripheral Instance Parameters
This model accepts the following parameters:
Table : Peripheral Parameters
Name | Type | Description |
---|
loopback | bool | When enabled transmit data is looped back to the receiver data register. |
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 |
---|
irq | output | 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 | T (True) | |
Table 3: Bus Slave Port: bport1 Registers:
Name | Offset | Width (bits) | Description | R/W | is Volatile |
---|
ab_dr | 0x0 | 32 | UARTDR | | |
ab_rsrecr | 0x4 | 32 | UARTRSRECR | | |
ab_fr | 0x18 | 32 | UARTFR | | |
ab_fbrd | 0x24 | 32 | UARTFBDR | | |
ab_ibrd | 0x28 | 32 | UARTIBRD | | |
ab_lcrh | 0x2c | 32 | UARTLCRH | | |
ab_ctl | 0x30 | 32 | UARTLCTL | | |
ab_ifls | 0x34 | 32 | UARTIFLS | | |
ab_im | 0x38 | 32 | UARTIM | | |
ab_ris | 0x3c | 32 | UARTRIS | | |
ab_mis | 0x40 | 32 | UARTMIS | | |
ab_icr | 0x44 | 32 | UARTICR | | |
ab_pid0 | 0xfd0 | 32 | | | |
ab_pid1 | 0xfd4 | 32 | | | |
ab_pid2 | 0xfd8 | 32 | | | |
ab_pid3 | 0xfdc | 32 | | | |
ab_pid4 | 0xfe0 | 32 | | | |
ab_pid5 | 0xfe4 | 32 | | | |
ab_pid6 | 0xfe8 | 32 | | | |
ab_pid7 | 0xfec | 32 | | | |
ab_cid0 | 0xff0 | 32 | | | |
ab_cid1 | 0xff4 | 32 | | | |
ab_cid2 | 0xff8 | 32 | | | |
ab_cid3 | 0xffc | 32 | | | |
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 'UartInterface'