GRLIB GRGPREG Model

The GRGPREG device is part of the GRLIB IP library. It is available in libTEMUGRGPREG.so.

Loading the Plugin

import GRGPREG

Configuration

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

new

Create new instance of GRGPREG

Command new Arguments

Name Type Required Description

name

string

yes

Name of object to create

GRGPREG Reference

Properties

Name Type Description

Class

*void

Class object

Component

*void

Pointer to component object if part of component

GPREG

[uint32_t; 2]

General purpose register

GPREG_MASK

[uint32_t; 2]

General purpose register mask

GPREG_RESET

[uint32_t; 2]

General purpose register reset value

LoggingFlags

uint64_t

Flags for logging info

Name

*char

Object name

TimeSource

*void

Time source object

pnp.bar

uint32_t

AMBA plug and play base address register

pnp.config

uint32_t

AMBA plug and play config word

Interfaces

Name Type Description

ApbIface

ApbIface

AMBA plug and play interface.

DeviceIface

DeviceIface

Device interface.

MemAccessIface

MemAccessIface

Memory access interface.

ResetIface

ResetIface

Reset interface.

Registers

Register support is currently experimental!

Register Bank default

Register GPREG
Description

General purpose register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Commands

Name Description

delete

Dispose instance of GRGPREG

Limitations