Configuration

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

new

Create new instance of Machine

Command new Arguments

Name Type Required Description

name

string

yes

Name of object to create

Machine 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

cpi

double

Cycles per instruction

cpus

temu_IfaceRefArray

Processors in the machine

currentCPU

temu_IfaceRef/ <unknown>

Current CPU

currentCPUIdx

int32_t

Current CPU Index

devices

temu_IfaceRefArray

Devices to reset when machine is reset

freq

int64_t

Frequency in Hz

ipc

double

Instructions per cycle

nextEvent

int64_t

Next event

parentTimeSource

*void

Parent time source

quanta

uint64_t

Quanta length in nanoseconds

quantaEnd

uint64_t

End point of current quanta in nanoseconds

quantaStart

uint64_t

Quanta start in nanoseconds

startSteps

int64_t

Start steps of the time source

steps

int64_t

Steps of the time source

syncMask

uint64_t

Synchronised CPU mask

targetSteps

int64_t

Target steps of the time source

Interfaces

Name Type Description

MachineIface

MachineIface

ObjectIface

ObjectIface

ResetIface

ResetIface

Commands

Name Description

delete

Dispose instance of Machine