OVP Peripheral Model: RenesasUartc
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.
Licensing
Open Source Apache 2.0
Description
Renesas UARTC Asynchronous Serial Interface
Limitations
No Support for pin level transitions
Reference
R01UH0128ED0700, Rev. 7.00, Oct 06, 2010
Location
The uartc peripheral model is located in an Imperas/OVP installation at the VLNV: renesas.ovpworld.org / peripheral / uartc / 1.0.
Peripheral Instance Parameters
This model accepts the following parameters:
Table : Peripheral Parameters
Name | Type | Description |
---|
PCLK0 | uns32 | |
PCLK1 | uns32 | |
PCLK2 | uns32 | |
PCLK3 | uns32 | |
PCLK4 | uns32 | |
PCLK5 | uns32 | |
PCLK7 | uns32 | |
PCLK9 | uns32 | |
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 |
---|
INTUCT | output | F (False) | |
INTUCR | output | F (False) | |
INTUCRE | output | F (False) | |
TXDC | output | F (False) | |
RXDC | input | F (False) | |
Bus Slave Ports
This model has the following bus slave ports:
Bus Slave Port: UARTP0
Table 2: Bus Slave Port: UARTP0
Name | Size (bytes) | Must Be Connected | Description |
---|
UARTP0 | 0x10 | F (False) | |
Table 3: Bus Slave Port: UARTP0 Registers:
Name | Offset | Width (bits) | Description | R/W | is Volatile |
---|
reg0_CTL0 | 0x0 | 8 | | | |
reg0_CTL1 | 0x1 | 8 | | | |
reg0_CTL2 | 0x2 | 8 | | | |
reg0_OPT0 | 0x3 | 8 | | | |
reg0_STR | 0x4 | 8 | | | |
reg1_RX | 0x6 | 16 | | | |
reg1_TX | 0x8 | 16 | | | |
reg2_OPT1 | 0xa | 8 | | | |
reg2_OPT2 | 0xb | 8 | | | |
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 'uartc'