LIBRARY  |  COMPANIES |   PLATFORMS |   PROCESSORS |   PERIPHERALS
AlteraDwApbUart



OVP Peripheral Model: AlteraDwApbUart



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

Model of dw-apb-uart UART for CycloneV platform.

Limitations

No modeling of baudrate.

No modem support (DTR etc).

No support for parity.

No means to simulate errors.

Derived from national.ovpworld.org 16450 model. Just enough to do basic tty capabilities.

Only first 8 registers implemented.

Reference

Cyclone V Device Handbook Volume 3: Hard Processor System Technical Reference Manual cv_5v4 2013.12.30

Location

The dw-apb-uart peripheral model is located in an Imperas/OVP installation at the VLNV: altera.ovpworld.org / peripheral / dw-apb-uart / 1.0.



Peripheral Instance Parameters

This model accepts the following parameters:

Table : Peripheral Parameters

NameTypeDescription
uart16550boolEnable 16550 mode (with FIFOS) - not implemented yet.
simulatebaudboolIf true, transmit at the programmed baud rate (the default is to transmit without any delay).
defaultbauduns32Set the default baud rate multiplier. Default is 9.
charmodeboolPuts the telnet server into char mode Default is line mode
consoleboolIf specified, port number is ignored, and a console pops up automatically
portnumuns32If set, listen on this port. If set to zero, allocate a port from the pool and listen on that.
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
intOutoutputF (False)Interrupt output.



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
bport10x1000T (True)Byte:wide access to control and status registers.

Table 3: Bus Slave Port: bport1 Registers:

NameOffsetWidth (bits)DescriptionR/Wis Volatile
rbr0x032receive byte
tbr0x032transmit byte
ier0x432interrupt enable
iir0x832interrupt input
lcr0xc32line control
mcr0x1032modem control
lsr0x1432line status
msr0x1832modem status
scr0x1c32scratchpad
usr0x7c32uart status



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 'dw-apb-uart'

Platform NameVendor
AlteraCycloneV_HPSaltera.ovpworld.org
AlteraCycloneV_HPSaltera.ovpworld.org



AlteraPeripherals
Page was generated in 0.0767 seconds