Classes

There are two important classes provided, the AhbCtrl and ApbCtrl classes. These are available in libTEMUAhbCtrl.so and libTEMUApbCtrl.so.

When configuring a non-standard LEON3 / LEON4 based processor, the AHB and APB controllers must be instantiated and connected to devices implementing the plug and play interfaces. For the AhbCtrl class, connections is done using the masters and slaves array properties. For the ApbCtrl class, only the slaves property exist.

Attributes

Properties

Name Type Description

masters

[64 x iref / <unknown>]

object.timeSource

object

Time source object (a cpu or machine object)

slaves

[64 x iref / <unknown>]

Interfaces

Name Type Description

DeviceIface

DeviceIface

MemAccessIface

MemAccessIface

ResetIface

ResetIface

Ports

Prop Iface Description

-

-

-

Attributes

Properties

Name Type Description

object.timeSource

object

Time source object (a cpu or machine object)

pnp.bar

[4 x uint32_t]

pnp.identReg

uint32_t

pnp.userDef

[3 x uint32_t]

slaves

[512 x iref / <unknown>]

Interfaces

Name Type Description

AhbIface

AhbIface

DeviceIface

DeviceIface

MemAccessIface

MemAccessIface

ResetIface

ResetIface

Ports

Prop Iface Description

-

-

-