GRLIB GRCLKGATE Model

The GRCLKGATE device is part of the GRLIB IP library. It is available in libTEMUGrClkgate.so.

Loading the Plugin

import GrClkgate

Configuration

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

new

Create new instance of GRCLKGATE

Command new Arguments

Name Type Required Description

name

string

yes

Name of object to create

GRCLKGATE 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

apb.pnp.bar

uint32_t

apb.pnp.config

uint32_t

clockEnableReg

uint32_t

coreResetReg

uint32_t

unlockReg

uint32_t

Interfaces

Name Type Description

ApbIface

ApbIface

DeviceIface

DeviceIface

MemAccessIface

MemAccessIface

ResetIface

ResetIface

Commands

Name Description

delete

Dispose instance of GRCLKGATE

Limitations

The GRCLKGATE model is a non functional model.

The main purpose of the device is to save power by cutting off the clock to devices, and power consumption is not modelled in TEMU.