P2020 CCSRGU Model

This section describes the model of the P2020 CCSR General Utilities model. The device models the General Utilities part in CCSR space. CCSRGU includes the local configuration control and local access parts, handling the remapping of the dynamic physical address space.

Loading the Plugin

import P2020

Configuration

@CCSRGU Reference

Properties

Name Type Description

Class

*void

Class object

Component

*void

Pointer to component object if part of component

LocalName

*char

Local name (in component, if applicable)

LogMessageFlags

uint64_t

Per-object log message suppression flags

LoggingFlags

uint64_t

Flags for logging info

Name

*char

Object name

ObjectID

uint64_t

Unique ObjectID.

ReplayLoggingFlags

uint64_t

Replay-time category logging flags

TimeSource

*void

Time source object

Commands

Name Description

delete

Dispose instance of @CCSRGU

new

Create new instance of CCSRGU

Command new Arguments

Name Type Required Description

name

string

yes

Name of object to create

CCSRGU Reference

Properties

Name Type Description

ALTCAR

uint32_t

Alternate configuration attribute register

ALTCARColdResetValue

uint32_t

Alternate configuration attribute register

ALTCARForcedBits

uint32_t

Alternate configuration attribute register

ALTCARForcedFlippedBits

uint32_t

Alternate configuration attribute register

ALTCARReadMask

uint32_t

Alternate configuration attribute register

ALTCARResetMask

uint32_t

Alternate configuration attribute register

ALTCARResetValue

uint32_t

Alternate configuration attribute register

ALTCARWriteMask

uint32_t

Alternate configuration attribute register

ALTCBAR

uint32_t

Alternate configuration base address register

ALTCBARColdResetValue

uint32_t

Alternate configuration base address register

ALTCBARForcedBits

uint32_t

Alternate configuration base address register

ALTCBARForcedFlippedBits

uint32_t

Alternate configuration base address register

ALTCBARReadMask

uint32_t

Alternate configuration base address register

ALTCBARResetMask

uint32_t

Alternate configuration base address register

ALTCBARResetValue

uint32_t

Alternate configuration base address register

ALTCBARWriteMask

uint32_t

Alternate configuration base address register

BPTR

uint32_t

Boot page translation register

BPTRColdResetValue

uint32_t

Boot page translation register

BPTRForcedBits

uint32_t

Boot page translation register

BPTRForcedFlippedBits

uint32_t

Boot page translation register

BPTRReadMask

uint32_t

Boot page translation register

BPTRResetMask

uint32_t

Boot page translation register

BPTRResetValue

uint32_t

Boot page translation register

BPTRWriteMask

uint32_t

Boot page translation register

CCSRBAR

uint32_t

Configuration, control, and status registers base address register

CCSRBARColdResetValue

uint32_t

Configuration, control, and status registers base address register

CCSRBARForcedBits

uint32_t

Configuration, control, and status registers base address register

CCSRBARForcedFlippedBits

uint32_t

Configuration, control, and status registers base address register

CCSRBARReadMask

uint32_t

Configuration, control, and status registers base address register

CCSRBARResetMask

uint32_t

Configuration, control, and status registers base address register

CCSRBARResetValue

uint32_t

Configuration, control, and status registers base address register

CCSRBARWriteMask

uint32_t

Configuration, control, and status registers base address register

Class

*void

Class object

Component

*void

Pointer to component object if part of component

LAWAR

[uint32_t; 12]

Local access window attribute register

LAWBAR

[uint32_t; 12]

Local access window base address register

LocalName

*char

Local name (in component, if applicable)

LogMessageFlags

uint64_t

Per-object log message suppression flags

LoggingFlags

uint64_t

Flags for logging info

Name

*char

Object name

ObjectID

uint64_t

Unique ObjectID.

ReplayLoggingFlags

uint64_t

Replay-time category logging flags

TimeSource

*void

Time source object

ddr

temu_IfaceRef/ <unknown>

DDR memory controller

ddrCtrl

temu_IfaceRef/ <unknown>

DDR registers.

dmaCtrl

[temu_IfaceRef; 2]/ <unknown>

DMA registers

duartCtrl

[temu_IfaceRef; 2]/ <unknown>

DUART registers

ecmCtrl

temu_IfaceRef/ <unknown>

ECM registers

elbc

temu_IfaceRef/ <unknown>

Enhanced local bus

elbcCtrl

temu_IfaceRef/ <unknown>

eLBC registers

esdhcCtrl

temu_IfaceRef/ <unknown>

eSDHC registers

espiCtrl

temu_IfaceRef/ <unknown>

eSPI registers

etsecCtrl

[temu_IfaceRef; 3]/ <unknown>

eTSEC registers

globalUtilitiesCtrl

temu_IfaceRef/ <unknown>

Global utilities registers

gpioCtrl

temu_IfaceRef/ <unknown>

GPIO registers

i2cCtrl

temu_IfaceRef/ <unknown>

I2C registers

l2CacheCtrl

temu_IfaceRef/ <unknown>

L2 Cache regsiters

localAccess

temu_IfaceRef/ <unknown>

Reference to device itself

memSpace

temu_IfaceRef/ <unknown>

Memory space

pci

[temu_IfaceRef; 3]/ <unknown>

PCI bridges

pcixCtrl

[temu_IfaceRef; 3]/ <unknown>

PCIx registers

picCtrl

temu_IfaceRef/ <unknown>

PIC registers

secCtrl

temu_IfaceRef/ <unknown>

SEC registers

srio

[temu_IfaceRef; 2]/ <unknown>

SRIO

usbCtrl

temu_IfaceRef/ <unknown>

USB registers

Interfaces

Name Type Description

DeviceIface

DeviceIface

Device Interface

MemAccessIface

MemAccessIface

Memory access interface

RegisterIface

temu::RegisterIface

Auto-generated Register Interface Impl.

ResetIface

ResetIface

Reset Interface

Registers

Register support is currently experimental!

Register Bank Regs

Register CCSRBAR
Description

Configuration, control, and status registers base address register

Reset value

0x000ff700

Warm reset mask

0x00ffff00

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffff00

0xff7

Configuration, control, and status registers base address

Register ALTCBAR
Description

Alternate configuration base address register

Reset value

0x00000000

Warm reset mask

0x00ffff00

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffff00

0x0

Alternate configuration window base address

Register ALTCAR
Description

Alternate configuration attribute register

Reset value

0x00000000

Warm reset mask

0x80f00000

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Second configuration window enable

TRGT_ID

0x00f00000

0x0

Target device ID for alternate configuration window

Register BPTR
Description

Boot page translation register

Reset value

0x00000000

Warm reset mask

0x80ffffff

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Boot page translation enable

BOOT_PAGE

0x00ffffff

0x0

Boot page translation high address bits

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWBAR
Description

Local access window base address register

Reset value

0x00000000

Warm reset mask

0x00ffffff

Diagram
Field Mask Reset Description

BASE_ADDR

0x00ffffff

0x0

Most significant address bits of the local access window base

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Register LAWAR
Description

Local access window attribute register

Reset value

0x00000000

Warm reset mask

0x81f0003f

Diagram
Field Mask Reset Description

EN

0x80000000

0x0

Local access window enable

TRGT

0x01f00000

0x0

Local access window target interface

SIZE

0x0000003f

0x0

Local access window size

Commands

Name Description

delete

Dispose instance of CCSRGU

Limitations