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

Registers

Register support is currently experimental!

Register Bank default

Register accessControl
Description

L2C access control register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register control
Description

L2C Control Register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register dataCheckBits
Description

L2C data check bits register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register errorAddress
Description

L2C error address register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register errorHandlingAndInjectionConfig
Description

L2C injection configuration register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register errorInjection
Description

L2C error injection register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register errorStatusCtrl
Description

L2C error status/control register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register flushMem
Description

L2C Flush memory address register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register flushSet
Description

L2C Flush set address register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register mtrr
Description

L2C memory type range registers

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register scrubControlStatus
Description

L2C scrub control/status register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register scrubDelay
Description

L2C scrub delay register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register status
Description

L2C Status Register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register tagCheckBits
Description

L2C tag check bits register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Commands

Name Description

delete

Dispose instance of GrlibL2Cache

Limitations