LIBRARY  |  COMPANIES |   PLATFORMS |   PROCESSORS |   PERIPHERALS
Mips16450C



OVP Peripheral Model: Mips16450C



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.

Limitations

No modem support (DTR etc).

No modelling of baud:rate.

Description

Note that on start:up, the UART model will block the simulator, pending a connection to the socket.

The serial input/output ports are modelled by socket connection which must be attached to a process outside the simulation environment.

Connects to a bus by a slave port and optionally to a processor by an interrupt signal.

Special version with register addresses for MIPS MALTA C-BUS.

Model of 16550/16450 UART.

Licensing

Open Source Apache 2.0

Limitations

No support for parity.

No means to simulate errors.

Reference

MIPS Malta Datasheet

Location

The 16450C peripheral model is located in an Imperas/OVP installation at the VLNV: mips.ovpworld.org / peripheral / 16450C / 1.0.



Peripheral Instance Parameters

This model accepts the following parameters:

Table : Peripheral Parameters

NameTypeDescription
connectnonblockingboolIf set, simulation can begin before the connection is made
finishOnDisconnectboolIf set, disconnecting the port will cause the simulation to finish
logboolIf specified, serial output will go to simulator log
portFilestringIf portnum was specified as zero, write the port number to this file when it's known
outfilestringName of file to write device output
infilestringName of file to use for device source
portnumuns32If set, listen on this port. If set to zero, allocate a port from the pool and listen on that.
consoleboolIf specified, port number is ignored, and a console pops up automatically
charmodeboolPuts the telnet server into char mode Default is line mode
defaultbauduns32Set the default baud rate multiplier. Default is 9.
simulatebaudboolIf true, transmit at the programmed baud rate (the default is to transmit without any delay).
uart16550boolEnable 16550 mode (with FIFOS)
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
bport10x40T (True)Byte:wide access to control and status registers.

Table 3: Bus Slave Port: bport1 Registers:

NameOffsetWidth (bits)DescriptionR/Wis Volatile
lsr0x288line status
mcr0x208modem control
lcr0x188line control
iir0x108interrupt input
ier0x88interrupt enable
tbr0x08transmit byte
rbr0x08receive byte
msr0x308modem status
scr0x388status/control



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 '16450C'

Platform NameVendor
HeteroArmNucleusMIPSLinuximperas.ovpworld.org
MipsMaltamips.ovpworld.org
MipsMaltamips.ovpworld.org



MipsPeripherals
Page was generated in 0.0217 seconds