OVP Peripheral Model: ArmKbPL050
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
ARM PL050 PS2 Keyboard or mouse controller
Reference
ARM PrimeCell PS2 Keyboard/Mouse Interface (PL050) Technical Reference Manual (ARM DDI 0143)
Licensing
Open Source Apache 2.0
Location
The KbPL050 peripheral model is located in an Imperas/OVP installation at the VLNV: arm.ovpworld.org / peripheral / KbPL050 / 1.0.
Peripheral Instance Parameters
This model accepts the following parameters:
Table : Peripheral Parameters
Name | Type | Description |
---|
isMouse | bool | if non:zero, this device is the mouse (isKeyboard should be 0) |
isKeyboard | bool | if non:zero, this device is the keyboard (isMouse should be 0) |
grabDisable | bool | If non:zero, disables grabbing of the mouse by the VGA/input window. |
cursorEnable | bool | If non:zero, shows a basic software cursor in the VGA/input window at the mouse position. |
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 | F (False) | |
Table 3: Bus Slave Port: bport1 Registers:
Name | Offset | Width (bits) | Description | R/W | is Volatile |
---|
ab_cr | 0x0 | 8 | KMICR | | |
ab_stat | 0x4 | 8 | KMISTAT | | |
ab_data | 0x8 | 8 | KMIDATA | | |
ab_clk | 0xc | 8 | KMICLKDIV | | |
ab_iir | 0x10 | 8 | KMIIR | | |
ab_id0 | 0xfe0 | 32 | | | |
ab_id1 | 0xfe4 | 32 | | | |
ab_id2 | 0xfe8 | 32 | | | |
ab_id3 | 0xfec | 32 | | | |
ab_id4 | 0xff0 | 32 | | | |
ab_id5 | 0xff4 | 32 | | | |
ab_id6 | 0xff8 | 32 | | | |
ab_id7 | 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 'KbPL050'