GRLIB L2CACHE Model

The GrlibL2Cache device is part of the GRLIB IP library. It is available in libTEMUGrlibL2Cache.so.

Loading the Plugin

import GrlibL2Cache

Configuration

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

new

Create new instance of GrlibL2Cache

Command new Arguments

Name Type Required Description

name

string

yes

Name of object to create

GrlibL2Cache 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

accessControl

uint32_t

L2C access control register

control

uint32_t

L2C Control Register

dataCheckBits

uint32_t

L2C data check bits register

errorAddress

uint32_t

L2C error address register

errorHandlingAndInjectionConfig

uint32_t

L2C injection configuration register

errorInjection

uint32_t

L2C error injection register

errorStatusCtrl

uint32_t

L2C error status/control register

flushMem

uint32_t

L2C Flush memory address register

flushSet

uint32_t

L2C Flush set address register

mtrr

[uint32_t; 32]

L2C memory type range registers

pnp.bar

uint32_t

scrubControlStatus

uint32_t

L2C scrub control/status register

scrubDelay

uint32_t

L2C scrub delay register

status

uint32_t

L2C Status Register

tagCheckBits

uint32_t

L2C tag check bits register

Interfaces

Name Type Description

AhbIface

AhbIface

DeviceIface

DeviceIface

MemAccessIface

MemAccessIface

ResetIface

ResetIface

Commands

Name Description

delete

Dispose instance of GrlibL2Cache

Limitations