GRLIB MMCTRL Model

The MMCTRL device is part of the GRLIB IP library. It is available in libTEMUMMCTRL.so.

Loading the Plugin

import MMCTRL

Configuration

@MMCTRL Reference

Properties

Name Type Description

Class

*void

Class object

Component

*void

Pointer to component object if part of component

LoggingFlags

uint64_t

Flags for logging info

Name

*char

Object name

TimeSource

*void

Time source object

Commands

Name Description

delete

Dispose instance of @MMCTRL

new

Create new instance of MMCTRL

Command new Arguments

Name Type Required Description

name

string

yes

Name of object to create

MMCTRL Reference

Properties

Name Type Description

Class

*void

Class object

Component

*void

Pointer to component object if part of component

FTBND

uint32_t

FT boundary address register

FTBNDForcedBits

uint32_t

FT boundary address register

FTBNDForcedFlippedBits

uint32_t

FT boundary address register

FTBNDReadMask

uint32_t

FT boundary address register

FTBNDResetMask

uint32_t

FT boundary address register

FTBNDResetValue

uint32_t

FT boundary address register

FTBNDWriteMask

uint32_t

FT boundary address register

FTDA

uint32_t

FT diagnostic address register

FTDAForcedBits

uint32_t

FT diagnostic address register

FTDAForcedFlippedBits

uint32_t

FT diagnostic address register

FTDAReadMask

uint32_t

FT diagnostic address register

FTDAResetMask

uint32_t

FT diagnostic address register

FTDAResetValue

uint32_t

FT diagnostic address register

FTDAWriteMask

uint32_t

FT diagnostic address register

FTDC

uint32_t

FT diagnostic checkbits register

FTDCForcedBits

uint32_t

FT diagnostic checkbits register

FTDCForcedFlippedBits

uint32_t

FT diagnostic checkbits register

FTDCReadMask

uint32_t

FT diagnostic checkbits register

FTDCResetMask

uint32_t

FT diagnostic checkbits register

FTDCResetValue

uint32_t

FT diagnostic checkbits register

FTDCWriteMask

uint32_t

FT diagnostic checkbits register

FTDD

uint32_t

FT diagnostic data register

FTDDForcedBits

uint32_t

FT diagnostic data register

FTDDForcedFlippedBits

uint32_t

FT diagnostic data register

FTDDReadMask

uint32_t

FT diagnostic data register

FTDDResetMask

uint32_t

FT diagnostic data register

FTDDResetValue

uint32_t

FT diagnostic data register

FTDDWriteMask

uint32_t

FT diagnostic data register

LoggingFlags

uint64_t

Flags for logging info

MUXCFG

uint32_t

Mux configuration register

MUXCFGForcedBits

uint32_t

Mux configuration register

MUXCFGForcedFlippedBits

uint32_t

Mux configuration register

MUXCFGReadMask

uint32_t

Mux configuration register

MUXCFGResetMask

uint32_t

Mux configuration register

MUXCFGResetValue

uint32_t

Mux configuration register

MUXCFGWriteMask

uint32_t

Mux configuration register

Name

*char

Object name

SDCFG0

uint32_t

SDRAM configuration registers

SDCFG0ForcedBits

uint32_t

SDRAM configuration registers

SDCFG0ForcedFlippedBits

uint32_t

SDRAM configuration registers

SDCFG0ReadMask

uint32_t

SDRAM configuration registers

SDCFG0ResetMask

uint32_t

SDRAM configuration registers

SDCFG0ResetValue

uint32_t

SDRAM configuration registers

SDCFG0WriteMask

uint32_t

SDRAM configuration registers

SDCFG1

uint32_t

SDRAM configuration registers

SDCFG1ForcedBits

uint32_t

SDRAM configuration registers

SDCFG1ForcedFlippedBits

uint32_t

SDRAM configuration registers

SDCFG1ReadMask

uint32_t

SDRAM configuration registers

SDCFG1ResetMask

uint32_t

SDRAM configuration registers

SDCFG1ResetValue

uint32_t

SDRAM configuration registers

SDCFG1WriteMask

uint32_t

SDRAM configuration registers

TimeSource

*void

Time source object

ahb.pnp.bar

[uint32_t; 4]

AMBA plug and play base address register

ahb.pnp.identReg

uint32_t

AMBA plug and play config word

ahb.pnp.userDef

[uint32_t; 3]

AMBA plug and play user words

Interfaces

Name Type Description

AhbIface

AhbIface

DeviceIface

DeviceIface

MemAccessIface

MemAccessIface

RegisterIface

temu::RegisterIface

ResetIface

ResetIface

Commands

Name Description

delete

Dispose instance of MMCTRL

Limitations

The MMCTRL device is non-functional, providing only registers and PNP data. To raise memory controller errors, the users is expected to implement a fault injection model, which sets the registers and raises relevant interrupts.