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

FTDA

uint32_t

FT diagnostic address register

FTDC

uint32_t

FT diagnostic checkbits register

FTDD

uint32_t

FT diagnostic data register

LoggingFlags

uint64_t

Flags for logging info

MUXCFG

uint32_t

Mux configuration register

Name

*char

Object name

SDCFG

[uint32_t; 2]

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

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.