OVP Virtual Platform: HeteroArmNucleusMIPSLinux
This page provides detailed information about the OVP Virtual Platform Model of the
imperas.ovpworld.org HeteroArmNucleusMIPSLinux platform.
Licensing
Open Source Apache 2.0
Description
This heterogeneous platform combines MIPS Malta and ARM Integrator platforms.
MIPS Malta executes a Linux Kernel Operating System.
ARM Integrator executes the Nucleus Operating System.
Limitations
Peripherals are modeled only to the extent required to boot and run Operating Systems.
Reference
OVP Heterogeneous platforms. MIPS Malta and ARM IntgratorCP reference guides.
Location
The HeteroArmNucleusMIPSLinux virtual platform is located in an Imperas/OVP installation at the VLNV: imperas.ovpworld.org / platform / HeteroArmNucleusMIPSLinux / 1.0.
Platform Summary
Table : Components in platform
Command Line Control of the Platform
Built-in Arguments
Table 1: Platform Built-in Arguments
Attribute | Value | Description |
---|
allargs | allargs | The Command line parser will accept the complete imperas argument set. Note that this option is ignored in some Imperas products |
When running a platform in a Windows or Linux shell several command arguments can be specified. Typically there is a '-help' command which lists the commands available in the platforms.
For example: myplatform.exe -help
Some command line arguments require a value to be provided.
For example: myplatform.exe -program myimagefile.elf
Platform Specific Command Line Arguments
Table 2: Platform Arguments
Name | Type | Description |
---|
uartconsole | boolvar | open a console terminal on the ARM IntegratorCP UART |
uartport | uns32var | set the base port number to open on the ARM IntegratorCP UART |
nographics | boolvar | disable the MIPS Malta graphics window |
Processor [mips.ovpworld.org/processor/mips32_r1r5/1.0] instance: mipsle1
Processor model type: 'mips32_r1r5' variant '34Kf' definition
Imperas OVP processor models support multiple variants and details of the variants implemented in this model can be found in:
- the Imperas installation located at ImperasLib/source/mips.ovpworld.org/processor/mips32_r1r5/1.0/doc
- the OVP website:
OVP_Model_Specific_Information_mips32_r1r5_34Kf.pdfDescription
MIPS32 Configurable Processor Model
Licensing
Usage of binary model under license governing simulator usage. Source of model available under Imperas Software License Agreement.
Limitations
If this model is not part of your installation, then it is available for download from www.OVPworld.org/ip-vendor-mips.
Verification
Models have been validated correct as part of the MIPS Verified program and run through the MIPS AVP test programs
Features
only MIPS32 Instruction set implemented
MMU Type: Standard TLB
FPU implemented
L1 I and D cache model in either full or tag-only mode implemented (disabled by default)
Vectored interrupts implemented
MIPS16e ASE implemented
MT ASE implemented
DSP ASE implemented
Instance Parameters
Several parameters can be specified when a processor is instanced in a platform. For this processor instance 'mipsle1' it has been instanced with the following parameters:
Table 3: Processor Instance 'mipsle1' Parameters (Configurations)
Parameter | Value | Description |
---|
endian | little | Select processor endian (big or little) |
simulateexceptions | simulateexceptions | Causes the processor simulate exceptions instead of halting |
mips | 100 | The nominal MIPS for the processor |
imagefile | mips.vmlinux | The image file to load onto the processor |
Table 4: Processor Instance 'mipsle1' Parameters (Attributes)
Parameter Name | Value | Type |
---|
variant | 34Kf | enum |
vectoredinterrupt | 0 | bool |
config1MMUSizeM1 | 63 | uns32 |
Memory Map for processor 'mipsle1' bus: 'busmipsMain'
Processor instance 'mipsle1' is connected to bus 'busmipsMain' using master port 'INSTRUCTION'.
Processor instance 'mipsle1' is connected to bus 'busmipsMain' using master port 'DATA'.
Table 5: Memory Map ( 'mipsle1' / 'busmipsMain' [width: 32] )
Lo Address | Hi Address | Instance | Component |
---|
0x0 | 0x7FFFFFF | Core_Board_SDRAM | ram |
remappable | remappable | PCI_NET | 79C970 |
remappable | remappable | PCI_PM | PciPM |
remappable | remappable | PCI_USB | PciUSB |
remappable | remappable | PIIX4-IDE | PciIDE |
remappable | remappable | sysControl | GT6412x |
remappable | remappable | vga | GD5446 |
0x8000000 | 0x800FFFF | busBridgeM1 | bridge |
0x18000020 | 0x18000021 | intCtrlMaster | 8259A |
0x18000040 | 0x18000043 | mpit | 8253 |
0x18000060 | 0x18000067 | Ps2Control | Ps2Control |
0x18000070 | 0x18000071 | mrtc | MC146818 |
0x180000A0 | 0x180000A1 | intCtrlSlave | 8259A |
0x180002F8 | 0x180002FF | uartTTY1 | 16550 |
0x180003B0 | 0x180003DF | vga | GD5446 |
0x180003F0 | 0x180003F7 | fd0 | 82077AA |
0x180003F8 | 0x180003FF | uartTTY0 | 16550 |
0x180004D0 | 0x180004D0 | intCtrlMaster | 8259A |
0x180004D1 | 0x180004D1 | intCtrlSlave | 8259A |
0x1E000000 | 0x1E3FFFFF | map | bridge |
0x1F000000 | 0x1F0008FF | maltaFpga | MaltaFPGA |
0x1F000900 | 0x1F00093F | uartCBUS | 16450C |
0x1F000A00 | 0x1F000FFF | maltaFpga | MaltaFPGA |
0x1FC00000 | 0x1FC0000F | remap1 | bridge |
0x1FC00010 | 0x1FC00013 | Core_Board_SDRAM_promInit | SmartLoaderLinux |
0x1FC00014 | 0x1FFFFFFF | remap2 | bridge |
Table 6: Bridged Memory Map ( 'mipsle1' / 'busBridgeM1' / 'busShared' [width: 32] )
Lo Address | Hi Address | Instance | Component |
---|
0x0 | 0xFFFF | sharedRAM | ram |
Table 7: Bridged Memory Map ( 'mipsle1' / 'map' / 'flashBus' [width: 32] )
Lo Address | Hi Address | Instance | Component |
---|
0x1E000000 | 0x1E3FFFFF | Monitor_Flash | ram |
Table 8: Bridged Memory Map ( 'mipsle1' / 'remap1' / 'flashBus' [width: 32] )
Lo Address | Hi Address | Instance | Component |
---|
0x1E000000 | 0x1E3FFFFF | Monitor_Flash | ram |
Table 9: Bridged Memory Map ( 'mipsle1' / 'remap2' / 'flashBus' [width: 32] )
Lo Address | Hi Address | Instance | Component |
---|
0x1E000000 | 0x1E3FFFFF | Monitor_Flash | ram |
Net Connections to processor: 'mipsle1'
Table 10: Processor Net Connections ( 'mipsle1' )
Net Port | Net | Instance | Component |
---|
hwint0 | i8259Int | intCtrlMaster | 8259A |
Processor [arm.ovpworld.org/processor/arm/1.0] instance: armSub1arm1
Processor model type: 'arm' variant 'ARM920T' definition
Imperas OVP processor models support multiple variants and details of the variants implemented in this model can be found in:
- the Imperas installation located at ImperasLib/source/arm.ovpworld.org/processor/arm/1.0/doc
- the OVP website:
OVP_Model_Specific_Information_arm_ARM920T.pdfDescription
ARM Processor Model
Licensing
Usage of binary model under license governing simulator usage.
Note that for models of ARM CPUs the license includes the following terms:
Licensee is granted a non-exclusive, worldwide, non-transferable, revocable licence to:
If no source is being provided to the Licensee: use and copy only (no modifications rights are granted) the model for the sole purpose of designing, developing, analyzing, debugging, testing, verifying, validating and optimizing software which: (a) (i) is for ARM based systems; and (ii) does not incorporate the ARM Models or any part thereof; and (b) such ARM Models may not be used to emulate an ARM based system to run application software in a production or live environment.
If source code is being provided to the Licensee: use, copy and modify the model for the sole purpose of designing, developing, analyzing, debugging, testing, verifying, validating and optimizing software which: (a) (i) is for ARM based systems; and (ii) does not incorporate the ARM Models or any part thereof; and (b) such ARM Models may not be used to emulate an ARM based system to run application software in a production or live environment.
In the case of any Licensee who is either or both an academic or educational institution the purposes shall be limited to internal use.
Except to the extent that such activity is permitted by applicable law, Licensee shall not reverse engineer, decompile, or disassemble this model. If this model was provided to Licensee in Europe, Licensee shall not reverse engineer, decompile or disassemble the Model for the purposes of error correction.
The License agreement does not entitle Licensee to manufacture in silicon any product based on this model.
The License agreement does not entitle Licensee to use this model for evaluating the validity of any ARM patent.
Source of model available under separate Imperas Software License Agreement.
Limitations
Instruction pipelines are not modeled in any way. All instructions are assumed to complete immediately. This means that instruction barrier instructions (e.g. ISB, CP15ISB) are treated as NOPs, with the exception of any undefined instruction behavior, which is modeled. The model does not implement speculative fetch behavior. The branch cache is not modeled.
Caches and write buffers are not modeled in any way. All loads, fetches and stores complete immediately and in order, and are fully synchronous (as if the memory was of Strongly Ordered or Device-nGnRnE type). Data barrier instructions (e.g. DSB, CP15DSB) are treated as NOPs, with the exception of any undefined instruction behavior, which is modeled. Cache manipulation instructions are implemented as NOPs, with the exception of any undefined instruction behavior, which is modeled.
Real-world timing effects are not modeled: all instructions are assumed to complete in a single cycle.
TLBs are architecturally-accurate but not device accurate. This means that all TLB maintenance and address translation operations are fully implemented but the cache is larger than in the real device.
Verification
Models have been extensively tested by Imperas. ARM9 models have been successfully used by customers to simulate Linux and Nucleus on ArmIntegrator virtual platforms.
Features
The precise set of implemented features in the model is defined by ID registers. Use overrides to modify these if required (for example override_PFR0 or override_AA64PFR0_EL1).
Core Features
Thumb instructions are supported.
Memory System
FCSE extension is implemented.
VMSA address translation is implemented.
TLB behavior is controlled by parameter ASIDCacheSize. If this parameter is 0, then an unlimited number of TLB entries will be maintained concurrently. If this parameter is non-zero, then only TLB entries for up to ASIDCacheSize different ASIDs will be maintained concurrently initially; as new ASIDs are used, TLB entries for less-recently used ASIDs are deleted, which improves model performance in some cases (especially when 16-bit ASIDs are in use). If the model detects that the TLB entry cache is too small (entry ejections are very frequent), it will increase the cache size automatically. In this variant, ASIDCacheSize is 8
Debug Mask
It is possible to enable model debug features in various categories. This can be done statically using the "override_debugMask" parameter, or dynamically using the "debugflags" command. Enabled debug features are specified using a bitmask value, as follows:
Value 0x004: enable debugging of MMU/MPU mappings.
Value 0x080: enable debugging of all system register accesses.
Value 0x100: enable debugging of all traps of system register accesses.
Value 0x200: enable verbose debugging of other miscellaneous behavior (for example, the reason why a particular instruction is undefined).
Value 0x800: enable dynamic validation of TLB entries against in-memory page table contents (finds some classes of error where page table entries are updated without a subsequent flush of affected TLB entries).
All other bits in the debug bitmask are reserved and must not be set to non-zero values.
AArch32 Unpredictable Behavior
Many AArch32 instruction behaviors are described in the ARM ARM as CONSTRAINED UNPREDICTABLE. This section describes how such situations are handled by this model.
Equal Target Registers
Some instructions allow the specification of two target registers (for example, double-width SMULL, or some VMOV variants), and such instructions are CONSTRAINED UNPREDICTABLE if the same target register is specified in both positions. In this model, such instructions are treated as UNDEFINED.
Floating Point Load/Store Multiple Lists
Instructions that load or store a list of floating point registers (e.g. VSTM, VLDM, VPUSH, VPOP) are CONSTRAINED UNPREDICTABLE if either the uppermost register in the specified range is greater than 32 or (for 64-bit registers) if more than 16 registers are specified. In this model, such instructions are treated as UNDEFINED.
Floating Point VLD[2-4]/VST[2-4] Range Overflow
Instructions that load or store a fixed number of floating point registers (e.g. VST2, VLD2) are CONSTRAINED UNPREDICTABLE if the upper register bound exceeds the number of implemented floating point registers. In this model, these instructions load and store using modulo 32 indexing (consistent with AArch64 instructions with similar behavior).
If-Then (IT) Block Constraints
Where the behavior of an instruction in an if-then (IT) block is described as CONSTRAINED UNPREDICTABLE, this model treats that instruction as UNDEFINED.
Use of R13
In architecture variants before ARMv8, use of R13 was described as CONSTRAINED UNPREDICTABLE in many circumstances. From ARMv8, most of these situations are no longer considered unpredictable. This model allows R13 to be used like any other GPR, consistent with the ARMv8 specification.
Use of R15
Use of R15 is described as CONSTRAINED UNPREDICTABLE in many circumstances. This model allows such use to be configured using the parameter "unpredictableR15" as follows:
Value "undefined": any reference to R15 in such a situation is treated as UNDEFINED;
Value "nop": any reference to R15 in such a situation causes the instruction to be treated as a NOP;
Value "raz_wi": any reference to R15 in such a situation causes the instruction to be treated as a RAZ/WI (that is, R15 is read as zero and write-ignored);
Value "execute": any reference to R15 in such a situation is executed using the current value of R15 on read, and writes to R15 are allowed (but are not interworking).
Value "assert": any reference to R15 in such a situation causes the simulation to halt with an assertion message (allowing any such unpredictable uses to be easily identified).
In this variant, the default value of "unpredictableR15" is "execute".
Unpredictable Instructions in Some Modes
Some instructions are described as CONSTRAINED UNPREDICTABLE in some modes only (for example, MSR accessing SPSR is CONSTRAINED UNPREDICTABLE in User and System modes). This model allows such use to be configured using the parameter "unpredictableModal", which can have values "undefined" or "nop". See the previous section for more information about the meaning of these values.
In this variant, the default value of "unpredictableModal" is "nop".
Integration Support
This model implements a number of non-architectural pseudo-registers and other features to facilitate integration.
Memory Transaction Query
Two registers are intended for use within memory callback functions to provide additional information about the current memory access. Register transactPL indicates the processor execution level of the current access (0-3). Note that for load/store translate instructions (e.g. LDRT, STRT) the reported execution level will be 0, indicating an EL0 access. Register transactAT indicates the type of memory access: 0 for a normal read or write; and 1 for a physical access resulting from a page table walk.
Page Table Walk Query
A banked set of registers provides information about the most recently completed page table walk. There are up to six banks of registers: bank 0 is for stage 1 walks, bank 1 is for stage 2 walks, and banks 2-5 are for stage 2 walks initiated by stage 1 level 0-3 entry lookups, respectively. Banks 1-5 are present only for processors with virtualization extensions. The currently active bank can be set using register PTWBankSelect. Register PTWBankValid is a bitmask indicating which banks contain valid data: for example, the value 0xb indicates that banks 0, 1 and 3 contain valid data.
Within each bank, there are registers that record addresses and values read during that page table walk. Register PTWBase records the table base address, register PTWInput contains the input address that starts a walk, register PTWOutput contains the result address and register PTWPgSize contains the page size (PTWOutput and PTWPgSize are valid only if the page table walk completes). Registers PTWAddressL0-PTWAddressL3 record the addresses of level 0 to level 3 entries read, respectively. Register PTWAddressValid is a bitmask indicating which address registers contain valid data: bits 0-3 indicate PTWAddressL0-PTWAddressL3, respectively, bit 4 indicates PTWBase, bit 5 indicates PTWInput, bit 6 indicates both PTWOutput and PTWPgSize. For example, the value 0x73 indicates that PTWBase, PTWInput, PTWOutput, PTWPgSize and PTWAddressL0-L1 are valid but PTWAddressL2-L3 are not. Register PTWAddressNS is a bitmask indicating whether an address is in non-secure memory: bits 0-3 indicate PTWAddressL0-PTWAddressL3, respectively, bit 4 indicates PTWBase, bit 6 indicates PTWOutput (PTWInput is a VA and thus has no secure/non-secure info). Registers PTWValueL0-PTWValueL3 contain page table entry values read at level 0 to level 3. Register PTWValueValid is a bitmask indicating which value registers contain valid data: bits 0-3 indicate PTWValueL0-PTWValueL3, respectively.
Artifact Page Table Walks
Registers are also available to enable a simulation environment to initiate an artifact page table walk (for example, to determine the ultimate PA corresponding to a given VA). Register PTWI_EL1S initiates a secure EL1 table walk for a fetch. Register PTWD_EL1S initiates a secure EL1 table walk for a load or store (note that current ARM processors have unified TLBs, so these registers are synonymous). Registers PTW[ID]_EL1NS initiate walks for non-secure EL1 accesses. Registers PTW[ID]_EL2 initiate EL2 walks. Registers PTW[ID]_S2 initiate stage 2 walks. Registers PTW[ID]_EL3 initiate AArch64 EL3 walks. Finally, registers PTW[ID]_current initiate current-mode walks (useful in a memory callback context). Each walk fills the query registers described above.
MMU and Page Table Walk Events
Two events are available that allow a simulation environment to be notified on MMU and page table walk actions. Event mmuEnable triggers when any MMU is enabled or disabled. Event pageTableWalk triggers on completion of any page table walk (including artifact walks).
Artifact Address Translations
A simulation environment can trigger an artifact address translation operation by writing to the architectural address translation registers (e.g. ATS1CPR). The results of such translations are written to an integration support register artifactPAR, instead of the architectural PAR register. This means that such artifact writes will not perturb architectural state.
TLB Invalidation
A simulation environment can cause TLB state for one or more address translation regimes in the processor to be flushed by writing to the artifact register ResetTLBs. The argument is a bitmask value, in which non-zero bits select the TLBs to be flushed, as follows:
Bit 1: EL0/EL1 stage 1 non-secure TLB
Halt Reason Introspection
An artifact register HaltReason can be read to determine the reason or reasons that a processor is halted. This register is a bitfield, with the following encoding: bit 0 indicates the processor has executed a wait-for-event (WFE) instruction; bit 1 indicates the processor has executed a wait-for-interrupt (WFI) instruction; and bit 2 indicates the processor is held in reset.
System Register Access Monitor
If parameter "enableSystemMonitorBus" is True, an artifact 32-bit bus "SystemMonitor" is enabled for each PE. Every system register read or write by that PE is then visible as a read or write on this artifact bus, and can therefore be monitored using callbacks installed in the client environment (use opBusReadMonitorAdd/opBusWriteMonitorAdd or icmAddBusReadCallback/icmAddBusWriteCallback, depending on the client API). The format of the address on the bus is as follows:
bits 31:26 - zero
bit 25 - 1 if AArch64 access, 0 if AArch32 access
bit 24 - 1 if non-secure access, 0 if secure access
bits 23:20 - CRm value
bits 19:16 - CRn value
bits 15:12 - op2 value
bits 11:8 - op1 value
bits 7:4 - op0 value (AArch64) or coprocessor number (AArch32)
bits 3:0 - zero
As an example, to view non-secure writes to writes to CNTFRQ_EL0 in AArch64 state, install a write monitor on address range 0x020e0330:0x020e0333.
System Register Implementation
If parameter "enableSystemBus" is True, an artifact 32-bit bus "System" is enabled for each PE. Slave callbacks installed on this bus can be used to implement modified system register behavior (use opBusSlaveNew or icmMapExternalMemory, depending on the client API). The format of the address on the bus is the same as for the system monitor bus, described above.
Instance Parameters
Several parameters can be specified when a processor is instanced in a platform. For this processor instance 'armSub1arm1' it has been instanced with the following parameters:
Table 11: Processor Instance 'armSub1arm1' Parameters (Configurations)
Parameter | Value | Description |
---|
endian | little | Select processor endian (big or little) |
simulateexceptions | simulateexceptions | Causes the processor simulate exceptions instead of halting |
mips | 200.0 | The nominal MIPS for the processor |
imagefile | arm.plus_demo.out | The image file to load onto the processor |
Table 12: Processor Instance 'armSub1arm1' Parameters (Attributes)
Parameter Name | Value | Type |
---|
variant | ARM920T | enum |
compatibility | ISA | enum |
showHiddenRegs | 0 | bool |
Memory Map for processor 'armSub1arm1' bus: 'busarmSub1'
Processor instance 'armSub1arm1' is connected to bus 'busarmSub1' using master port 'INSTRUCTION'.
Processor instance 'armSub1arm1' is connected to bus 'busarmSub1' using master port 'DATA'.
Table 13: Memory Map ( 'armSub1arm1' / 'busarmSub1' [width: 32] )
Lo Address | Hi Address | Instance | Component |
---|
0x0 | 0x7FFFFFF | armSub1ram1Bridge | bridge |
remappable | remappable | armSub1lcd | LcdPL110 |
0xA000000 | 0xA00FFFF | busBridgeA1 | bridge |
0x10000000 | 0x10000FFF | armSub1cm | CoreModule9x6 |
0x13000000 | 0x13000FFF | armSub1pit | IcpCounterTimer |
0x14000000 | 0x14000FFF | armSub1pic1 | IntICP |
0x15000000 | 0x15000FFF | armSub1rtc | RtcPL031 |
0x16000000 | 0x16000FFF | armSub1uart1 | UartPL011 |
0x17000000 | 0x17000FFF | armSub1uart2 | UartPL011 |
0x18000000 | 0x18000FFF | armSub1kb1 | KbPL050 |
0x19000000 | 0x19000FFF | armSub1ms1 | KbPL050 |
0x1A000000 | 0x1A000FFF | armSub1ld1 | DebugLedAndDipSwitch |
0x1C000000 | 0x1C000FFF | armSub1mmci | MmciPL181 |
0x1D000000 | 0x1D000FFF | armSub1ambaDummy | ram |
0x80000000 | 0x87FFFFFF | armSub1ram1 | ram |
0xC0000000 | 0xC0000FFF | armSub1lcd | LcdPL110 |
0xCA000000 | 0xCA000FFF | armSub1pic2 | IntICP |
0xCB000000 | 0xCB00000F | armSub1icp | IcpControl |
Table 14: Bridged Memory Map ( 'armSub1arm1' / 'armSub1ram1Bridge' / 'busarmSub1' [width: 32] )
Lo Address | Hi Address | Instance | Component |
---|
remappable | remappable | armSub1lcd | LcdPL110 |
0x80000000 | 0x87FFFFFF | armSub1ram1 | ram |
Table 15: Bridged Memory Map ( 'armSub1arm1' / 'busBridgeA1' / 'busShared' [width: 32] )
Lo Address | Hi Address | Instance | Component |
---|
0x0 | 0xFFFF | sharedRAM | ram |
Net Connections to processor: 'armSub1arm1'
Table 16: Processor Net Connections ( 'armSub1arm1' )
Net Port | Net | Instance | Component |
---|
irq | armSub1irq | armSub1pic1 | IntICP |
fiq | armSub1fiq | armSub1pic1 | IntICP |
Peripheral Instances
Peripheral [mips.ovpworld.org/peripheral/SmartLoaderLinux/1.0] instance: Core_Board_SDRAM_promInit
Licensing
Open Source Apache 2.0
Description
Smart peripheral creates memory initialisation for a MIPS32 based Linux kernel boot. Performs the generation of boot code at the reset vector (virtual address 0xbfc00000) of the MIPS32 processor. Loads both the linux kernel and initial ramdisk into memory and patches the boot code to jump to the kernel start. Initialises the MIPS32 registers and Linux command line.
Reference
MIPS Malta User Manual. MIPS Boot code reference.
Limitations
None
Table 17: Configuration options (attributes) set for instance 'Core_Board_SDRAM_promInit'
Attributes | Value |
---|
kernel | mips.vmlinux |
boardid | 0x00000420 |
initrd | mips.initrd.gz |
command | console=tty0 |
Peripheral [marvell.ovpworld.org/peripheral/GT6412x/1.0] instance: sysControl
Licensing
Open Source Apache 2.0
Description
GT64120 System Controller.
Diagnostic levels:
PCI_SLAVE 0x03
PCI_CONFIG_MASTER 0x04
PCI_EMPTY 0x08
INT_ACK 0x10
MAIN_BUS 0x20
INFO 0x40
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform.
Reference
GT64121A System Controller for RC4650/4700/5000 and RM526X/527X/7000 CPUs Datasheet Revision 1.0 MAR 14, 2000
There are no configuration options set for this peripheral instance.
Peripheral [intel.ovpworld.org/peripheral/82371EB/1.0] instance: PIIX4
Licensing
Open Source Apache 2.0
Description
PIIX4 PCI configuration controller.
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform.
Reference
Intel 82371EB South Bridge Chipset Datasheet
Table 18: Configuration options (attributes) set for instance 'PIIX4'
Peripheral [intel.ovpworld.org/peripheral/PciIDE/1.0] instance: PIIX4-IDE
Licensing
Open Source Apache 2.0
Description
PCI:IDE interface. This forms part of the 82371 PIIX4 chip. It implements 4 IDE interfaces and 2 DMA controllers.
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform.
Reference
Intel 82371EB South Bridge Chipset Datasheet
Table 19: Configuration options (attributes) set for instance 'PIIX4-IDE'
Attributes | Value |
---|
PCIslot | 10 |
PCIfunction | 1 |
Drive0Name | mipsel_hda |
Drive1Name | mipsel_hdb |
Drive2Name | mipsel_cd |
Peripheral [intel.ovpworld.org/peripheral/PciUSB/1.0] instance: PCI_USB
Licensing
Open Source Apache 2.0
Description
PCI USB Interface
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform.
Reference
Intel 82371EB South Bridge Chipset Datasheet
Table 20: Configuration options (attributes) set for instance 'PCI_USB'
Attributes | Value |
---|
PCIslot | 10 |
PCIfunction | 2 |
Peripheral [intel.ovpworld.org/peripheral/PciPM/1.0] instance: PCI_PM
Licensing
Open Source Apache 2.0
Description
PCI Power Manager.
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform.
Reference
Intel 82371EB South Bridge Chipset Datasheet
Table 21: Configuration options (attributes) set for instance 'PCI_PM'
Attributes | Value |
---|
PCIslot | 10 |
PCIfunction | 3 |
Peripheral [amd.ovpworld.org/peripheral/79C970/1.0] instance: PCI_NET
Licensing
Open Source Apache 2.0
Description
Implements part of the AMD AM79C97xx series Ethernet devices.
diagnosticlevel: bits 0:1 give levels for the network hardware. bits 2:3 give levels for the user:mode SLIRP interface.
Limitations
Sufficient is implemented to Boot MIPS Linux and support ethernet TCP/IP services.
Reference
AMD Am79C973/Am79C975 PCnet-FAST III Single-Chip 10/100 Mbps PCI Ethernet Controller with Integrated PHY Datasheet
Table 22: Configuration options (attributes) set for instance 'PCI_NET'
Attributes | Value |
---|
PCIslot | 11 |
PCIfunction | 0 |
Peripheral [intel.ovpworld.org/peripheral/8259A/1.0] instance: intCtrlMaster
Licensing
Open Source Apache 2.0
Description
Intel 8259A Programmable Interrupt Controller (PIT).
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform.
Reference
Intel 8259A Datasheet. MIPS Malta Platform Reference Guide.
Table 23: Configuration options (attributes) set for instance 'intCtrlMaster'
Attributes | Value |
---|
spen | master |
Peripheral [intel.ovpworld.org/peripheral/8259A/1.0] instance: intCtrlSlave
Licensing
Open Source Apache 2.0
Description
Intel 8259A Programmable Interrupt Controller (PIT).
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform.
Reference
Intel 8259A Datasheet. MIPS Malta Platform Reference Guide.
Table 24: Configuration options (attributes) set for instance 'intCtrlSlave'
Peripheral [cirrus.ovpworld.org/peripheral/GD5446/1.0] instance: vga
Licensing
Open Source Apache 2.0
Description
Cirrus CL GD5446 VGA controller.
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform. The VGA peripheral utilises memory mapping. This requires the use of ICM memory for the frame buffers, which currently may stop its use in SystemC TLM2 platforms.
Reference
CL-GD5446 Preliminary Databook, Version 2.0, November 1996
Table 25: Configuration options (attributes) set for instance 'vga'
Attributes | Value |
---|
scanDelay | 50000 |
PCIslot | 18 |
title | Imperas MIPS32 Malta |
noGraphics | |
Peripheral [intel.ovpworld.org/peripheral/Ps2Control/1.0] instance: Ps2Control
Licensing
Open Source Apache 2.0
Description
PS2 Keyboard/Mouse Controller.
Limitations
This is a preliminary model with sufficient functionality to enable Linux to Boot on the MIPS:MALTA platform. Mouse functions are currently turned off.
Reference
SMsC FDC37M817 Super I/O Controller Datasheet
Table 26: Configuration options (attributes) set for instance 'Ps2Control'
Attributes | Value |
---|
pollPeriod | 5000 |
grabDisable | 1 |
Peripheral [intel.ovpworld.org/peripheral/8253/1.0] instance: mpit
Description
Intel 8253 Programmable Interval Timer (PIT)
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform. Not all modes are supported.
Licensing
Open Source Apache 2.0
Reference
Intel 8253 Datasheet. MIPS Malta Platform Reference Guide.
There are no configuration options set for this peripheral instance.
Peripheral [motorola.ovpworld.org/peripheral/MC146818/1.0] instance: mrtc
Licensing
Open Source Apache 2.0
Description
MC146818 Real:time clock.
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform.
Reference
Motorola MC146818AS Datasheet
There are no configuration options set for this peripheral instance.
Peripheral [national.ovpworld.org/peripheral/16550/1.0] instance: uartTTY0
Licensing
Open Source Apache 2.0
Description
16550 UART model
The serial input/output from the simulator is implemented using the Serial Device Support described in OVP BHM and PPM API Functions Reference, which describes the parameters that control how the model interacts with the host computer.
Interrupts and FIFOs are supported.
Registers are aligned on 1 byte boundaries.
Limitations
Resolution of the baud rate is limited to the simulation time slice (aka quantum) size.
Values written to the MCR are ignored. Loopback mode is not supported.
The LSR is read-only. The model never sets the LSR 'Parity Error', 'Framing Error', 'Break Interrupt' or 'Error in RCVR FIFO' bits.
The MSR 'Data Set Ready' and 'Clear To Send' bits are set at reset and all other MSR bits are cleared. MSR bits will only be changed by writes to the MSR and values written to the Modem Status Register do not effect the operation of the model.
Reference
PC16550D Universal Asynchronous Receiver/Transmitter with FIFOs datasheet (http://www.ti.com/lit/ds/symlink/pc16550d.pdf)
There are no configuration options set for this peripheral instance.
Peripheral [national.ovpworld.org/peripheral/16550/1.0] instance: uartTTY1
Licensing
Open Source Apache 2.0
Description
16550 UART model
The serial input/output from the simulator is implemented using the Serial Device Support described in OVP BHM and PPM API Functions Reference, which describes the parameters that control how the model interacts with the host computer.
Interrupts and FIFOs are supported.
Registers are aligned on 1 byte boundaries.
Limitations
Resolution of the baud rate is limited to the simulation time slice (aka quantum) size.
Values written to the MCR are ignored. Loopback mode is not supported.
The LSR is read-only. The model never sets the LSR 'Parity Error', 'Framing Error', 'Break Interrupt' or 'Error in RCVR FIFO' bits.
The MSR 'Data Set Ready' and 'Clear To Send' bits are set at reset and all other MSR bits are cleared. MSR bits will only be changed by writes to the MSR and values written to the Modem Status Register do not effect the operation of the model.
Reference
PC16550D Universal Asynchronous Receiver/Transmitter with FIFOs datasheet (http://www.ti.com/lit/ds/symlink/pc16550d.pdf)
There are no configuration options set for this peripheral instance.
Peripheral [mips.ovpworld.org/peripheral/16450C/1.0] instance: uartCBUS
Licensing
Open Source Apache 2.0
Description
Model of 16550/16450 UART.
Special version with register addresses for MIPS MALTA C-BUS.
Connects to a bus by a slave port and optionally to a processor by an interrupt signal.
The serial input/output ports are modelled by socket connection which must be attached to a process outside the simulation environment.
Note that on start:up, the UART model will block the simulator, pending a connection to the socket.
Limitations
No modelling of baud:rate.
No modem support (DTR etc).
No support for parity.
No means to simulate errors.
Reference
MIPS Malta Datasheet
There are no configuration options set for this peripheral instance.
Peripheral [intel.ovpworld.org/peripheral/82077AA/1.0] instance: fd0
Licensing
Open Source Apache 2.0
Description
Dummy Floppy Disc Controller.
Limitations
Register stubs only.
Reference
http://www.buchty.net/casio/files/82077.pdf http://www.alldatasheet.com/datesheet-pdf/pdf/167793/INTEL/82077AA.html
There are no configuration options set for this peripheral instance.
Peripheral [mips.ovpworld.org/peripheral/MaltaFPGA/1.0] instance: maltaFpga
Licensing
Open Source Apache 2.0
Description
MIPS MALTA FPGA. Drives Development board functions.
Limitations
This model has sufficient functionality to allow a Linux Kernel to Boot on the MIPS:MALTA platform.
Reference
MIPS Malta User Manual.
Table 27: Configuration options (attributes) set for instance 'maltaFpga'
Attributes | Value |
---|
stoponsoftreset | 1 |
Peripheral [arm.ovpworld.org/peripheral/CoreModule9x6/1.0] instance: armSub1cm
Description
ARM Integrator Board 9x6 Core Module Registers
Limitations
none
Reference
ARM Integrator CM926EJ-S, CM946E-S, CM966E-S, CM1026EJ-S, and CM1136JF-S User Guide (DUI 0138)
Licensing
Open Source Apache 2.0
There are no configuration options set for this peripheral instance.
Peripheral [arm.ovpworld.org/peripheral/IntICP/1.0] instance: armSub1pic1
Description
ARM Integrator Board interrupt controller
Limitations
none
Reference
Integrator User Guide Compact Platform Baseboard HBI-0086 (DUI 0159B)
Licensing
Open Source Apache 2.0
There are no configuration options set for this peripheral instance.
Peripheral [arm.ovpworld.org/peripheral/IntICP/1.0] instance: armSub1pic2
Description
ARM Integrator Board interrupt controller
Limitations
none
Reference
Integrator User Guide Compact Platform Baseboard HBI-0086 (DUI 0159B)
Licensing
Open Source Apache 2.0
There are no configuration options set for this peripheral instance.
Peripheral [arm.ovpworld.org/peripheral/IcpCounterTimer/1.0] instance: armSub1pit
Description
ARM Integrator Board Counter/Timer Module
Limitations
none
Reference
Integrator User Guide Compact Platform Baseboard HBI-0086 (DUI 0159B)
Licensing
Open Source Apache 2.0
There are no configuration options set for this peripheral instance.
Peripheral [arm.ovpworld.org/peripheral/IcpControl/1.0] instance: armSub1icp
Description
ARM Integrator Board Controller Module
Limitations
none
Reference
Integrator User Guide Compact Platform Baseboard HBI-0086 (DUI 0159B)
Licensing
Open Source Apache 2.0
There are no configuration options set for this peripheral instance.
Peripheral [arm.ovpworld.org/peripheral/DebugLedAndDipSwitch/1.0] instance: armSub1ld1
Description
ARM Integrator Board Debug LEDs and DIP Switch Interface
Limitations
none
Reference
Integrator User Guide Compact Platform Baseboard HBI-0086 (DUI 0159B)
Licensing
Open Source Apache 2.0
There are no configuration options set for this peripheral instance.
Peripheral [arm.ovpworld.org/peripheral/KbPL050/1.0] instance: armSub1kb1
Description
ARM PL050 PS2 Keyboard or mouse controller
Limitations
None
Reference
ARM PrimeCell PS2 Keyboard/Mouse Interface (PL050) Technical Reference Manual (ARM DDI 0143)
Licensing
Open Source Apache 2.0
Table 28: Configuration options (attributes) set for instance 'armSub1kb1'
Attributes | Value |
---|
isMouse | 0 |
grabDisable | 0 |
Peripheral [arm.ovpworld.org/peripheral/KbPL050/1.0] instance: armSub1ms1
Description
ARM PL050 PS2 Keyboard or mouse controller
Limitations
None
Reference
ARM PrimeCell PS2 Keyboard/Mouse Interface (PL050) Technical Reference Manual (ARM DDI 0143)
Licensing
Open Source Apache 2.0
Table 29: Configuration options (attributes) set for instance 'armSub1ms1'
Attributes | Value |
---|
isMouse | 1 |
grabDisable | 1 |
Peripheral [arm.ovpworld.org/peripheral/RtcPL031/1.0] instance: armSub1rtc
Description
ARM PL031 Real Time Clock (RTC)
Limitations
none
Reference
ARM PrimeCell Real Time Clock (PL031) Technical Reference Manual (ARM DDI 0224)
Licensing
Open Source Apache 2.0
There are no configuration options set for this peripheral instance.
Peripheral [arm.ovpworld.org/peripheral/UartPL011/1.0] instance: armSub1uart1
Description
ARM PL011 UART
Limitations
This is not a complete model of the PL011. There is no modeling of physical aspects of the UART, such as baud rates etc.
Reference
ARM PrimeCell UART (PL011) Technical Reference Manual (ARM DDI 0183)
Licensing
Open Source Apache 2.0
Table 30: Configuration options (attributes) set for instance 'armSub1uart1'
Attributes | Value |
---|
variant | ARM |
outfile | uart1.log |
finishOnDisconnect | 1 |
Peripheral [arm.ovpworld.org/peripheral/UartPL011/1.0] instance: armSub1uart2
Description
ARM PL011 UART
Limitations
This is not a complete model of the PL011. There is no modeling of physical aspects of the UART, such as baud rates etc.
Reference
ARM PrimeCell UART (PL011) Technical Reference Manual (ARM DDI 0183)
Licensing
Open Source Apache 2.0
Table 31: Configuration options (attributes) set for instance 'armSub1uart2'
Attributes | Value |
---|
variant | ARM |
finishOnDisconnect | 1 |
Peripheral [arm.ovpworld.org/peripheral/MmciPL181/1.0] instance: armSub1mmci
Description
ARM PrimeCell Multimedia Card Interface (MMCI)
Limitations
None
Licensing
Open Source Apache 2.0
Reference
ARM PrimeCell Multimedia Card Interface (Pl180) Technical Reference Manual (ARM DDI 0172)
There are no configuration options set for this peripheral instance.
Peripheral [arm.ovpworld.org/peripheral/LcdPL110/1.0] instance: armSub1lcd
Description
ARM PL110 LCD Controller
Limitations
The VGA display refresh is not optimised resulting in the VGA peripheral causing a limit on the maximum performance of a platform it contains to be around 300 MIPS (actual dependent upon refresh rate of LCD).
The LCD peripheral utilises memory watchpoints to optimise display refresh. This requires the use of ICM memory for the frame buffers, which currently may stop its use in SystemC TLM2 platforms.
Interrupts are not supported
Reference
ARM PrimeCell Color LCD Controller (PL111) Technical Reference Manual (ARM DDI 0293)
Licensing
Open Source Apache 2.0
Table 32: Configuration options (attributes) set for instance 'armSub1lcd'
Attributes | Value |
---|
noGraphics | 1 |
Peripheral [arm.ovpworld.org/peripheral/SmartLoaderArmLinux/1.0] instance: armSub1smartLoader
Licensing
Open Source Apache 2.0
Description
Psuedo-peripheral to perform memory initialisation for an ARM based Linux kernel boot: Loads Linux kernel image file and (optional) initial ram disk image into memory. Writes ATAG data into memory. Writes tiny boot code at physical memory base that configures the registers as expected by Linux Kernel and then jumps to boot address (image load address by default).
Limitations
Only supports little endian
Reference
See ARM Linux boot requirements in Linux source tree at documentation/arm/Booting
Table 33: Configuration options (attributes) set for instance 'armSub1smartLoader'