GRLIB MCTRL Model

The MCtrl device is part of the GRLIB IP library. It is available in libTEMUMCtrl.so.

Loading the Plugin

import MCtrl

Configuration

@MCtrl 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 @MCtrl

new

Create new instance of MCtrl

Command new Arguments

Name Type Required Description

name

string

yes

Name of object to create

MCtrl 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

ahb.pnp.bar

[uint32_t; 4]

ahb.pnp.identReg

uint32_t

ahb.pnp.userDef

[uint32_t; 3]

apb.pnp.bar

uint32_t

apb.pnp.config

uint32_t

mcfg1

uint32_t

mcfg2

uint32_t

mcfg3

uint32_t

mcfg4

uint32_t

Interfaces

Name Type Description

AhbIface

AhbIface

ApbIface

ApbIface

DeviceIface

DeviceIface

MemAccessIface

MemAccessIface

ResetIface

ResetIface

Registers

Register support is currently experimental!

Register Bank default

Register mcfg1
Description
Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register mcfg2
Description
Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register mcfg3
Description
Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register mcfg4
Description
Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Commands

Name Description

delete

Dispose instance of MCtrl

Limitations