Command Reference

Commands

?

Alias for temu-help.

add-eth-delay

Add delay to eth link

Arguments

Option Type Description

link

object

Ethernet link where to use the delay

device

object

Device to delay

seconds

double

Delay in seconds

Aliases

eth-delay

alias

set a command alias

This command does not have any aliases.

Arguments

Option Type Description

command

string

name

string

as

Alias for memory-assemble.

assemble

Alias for memory-assemble.

b

Alias for breakpoint-set.

bp-del

Alias for breakpoint-delete.

bp-list

Alias for breakpoint-list.

bp-set

Alias for breakpoint-set.

break

Alias for breakpoint-set.

break-del

Alias for breakpoint-delete.

break-delete

Alias for break-uart-delete.

break-list

Alias for breakpoint-list.

break-print

Alias for break-uart-list.

break-set

Alias for breakpoint-set.

break-uart

Create breakpoint using uart logging

Arguments

Option Type Description

uart

object

Uart to listen

regex

string

String to find in uart logging.

Aliases

uart-break

break-uart-delete

Print all breakpoints for an object

Arguments

Option Type Description

uart

object

Uart to listen.

index

integer

Index of breakpoint to delete.

Aliases

break-delete

break-uart-list

Print all breakpoints for an object

Arguments

Option Type Description

uart

object

Break model object.

Aliases

break-print

breakpoint-delete

delete breakpoint

Arguments

Option Type Description

obj

object

id

integer

addr

integer

Aliases

del, bp-del, break-del

breakpoint-list

list current breakpoints

This command takes no named arguments.

Aliases

bp-list, break-list

breakpoint-set

set breakpoint

Arguments

Option Type Description

obj

object

addr

integer

Aliases

break, b, bp-set, break-set

can-bus-connect

Connect a CAN device to a CAN bus

Arguments

Option Type Description

bus

interface

bus interface

dev

interface

device interface

Aliases

can-connect

can-bus-disconnect

Disconnect device from CAN bus

Arguments

Option Type Description

bus

interface

CAN bus interface

dev

interface

CAN device interface

Aliases

can-disconnect

can-connect

Alias for can-bus-connect.

can-disconnect

Alias for can-bus-disconnect.

checkpoint

Alias for snapshot-save.

checkpoint-restore

Alias for snapshot-restore.

checkpoint-save

Alias for snapshot-save.

class-generate-doc

Generate documentation for class

This command does not have any aliases.

Arguments

Option Type Description

class

class

file

path

embed

integer

class-generate-reg-images

Generate register packetdiag images for class

This command does not have any aliases.

Arguments

Option Type Description

class

class

dir

path

class-info

Show info about class

This command does not have any aliases.

Arguments

Option Type Description

class

class

class-list

List all classes

This command does not have any aliases.
This command takes no named arguments.

clear-faulty

Alias for memory-clear-faulty.

component-forest

Print component forrest

This command does not have any aliases.
This command takes no named arguments.

config-bool

Print configuration entry

This command does not have any aliases.
This command takes no named arguments.

config-float

Print configuration entry

This command does not have any aliases.
This command takes no named arguments.

config-int

Print configuration entry

This command does not have any aliases.
This command takes no named arguments.

config-str

Print configuration entry

This command does not have any aliases.
This command takes no named arguments.

config-uint

Print configuration entry

This command does not have any aliases.
This command takes no named arguments.

connect

Alias for object-connect.

connect-timesource

cov-write

Write branch counters to file

This command does not have any aliases.

Arguments

Option Type Description

file

path

Path to file to write

cpu-disable-mode-switch-events

Disable generation on mode switch events.

This command does not have any aliases.

Arguments

Option Type Description

cpu

object

Processor.

cpu-disable-trap-events

Disable generation on trap events.

This command does not have any aliases.

Arguments

Option Type Description

cpu

object

Processor.

cpu-enable-mode-switch-events

Enable generation of mode switch events. Note that no event handler will be installed. By default the events will not be reported for performance reasons. To for example get a message for every mode switch, a mode switch event listner must also be installed by e.g. a plugin.

This command does not have any aliases.

Arguments

Option Type Description

cpu

object

Processor.

print

integer

Whether to print on mode switch.

cpu-enable-trap-events

Enable generation of trap events. Note that no event handler will be installed. By default the events will not be reported for performance reasons. To for example get a message for every trap, a trap handler event listner must also be installed by e.g. a plugin.

This command does not have any aliases.

Arguments

Option Type Description

cpu

object

Processor.

print

integer

Whether to print on trap.

cpu-raise-trap

Raise trap as if triggered by current instruction

Arguments

Option Type Description

cpu

object

Processor.

trap

integer

Trap number.

Aliases

raise-trap

cpu-reset

Resets the given CPU

Arguments

Option Type Description

cpu

object

Processor.

warm

integer

Set to 1 for warm reset.

Aliases

reset

cpu-set-pc

Set the program counter (and Next-PC)

This command does not have any aliases.

Arguments

Option Type Description

cpu

object

Processor to set program counter in.

pc

integer

The new PC value.

cpu-set-reg

set register

Arguments

Option Type Description

cpu

object

Processor.

reg

string

Register name.

value

integer

Value to set.

Aliases

set-reg

cpu-show-regs

Pretty print registers.

Arguments

Option Type Description

cpu

object

Processor.

decimal

integer

Print in decimal

Aliases

regs

del

Alias for breakpoint-delete.

delwp

Alias for watchpoint-delete.

deserialise

Alias for snapshot-restore.

deserialize

Alias for snapshot-restore.

diag-err

Alias for diag-error.

diag-error

Emit a diagnostic error.

This command takes no named arguments.

Aliases

diag-err, err

diag-warn

Alias for diag-warning.

diag-warning

Emit a diagnostic warning.

This command takes no named arguments.

Aliases

diag-warn, warn

dis

Alias for memory-disassemble.

disable-binary-translation

Disable binary translation for all processors that supports it.

This command does not have any aliases.
This command takes no named arguments.

disassemble

Alias for memory-disassemble.

echo

Write string to stdout

This command does not have any aliases.
This command takes no named arguments.

elf-load

enable-binary-translation

Enable binary translation for all processors supporting it.

This command does not have any aliases.
This command takes no named arguments.

env

Alias for var-print-all.

err

Alias for diag-error.

eth-connect

Alias for ethernet-connect.

eth-delay

Alias for add-eth-delay.

eth-disconnect

Alias for ethernet-disconnect.

eth-enable-capture

ethernet-connect

Connect phy to ethernet link

Arguments

Option Type Description

link

object

Ethernet link

device

interface

Ethernet device

Aliases

eth-connect

ethernet-disconnect

Disconnect phy to ethernet link

Arguments

Option Type Description

link

object

Ethernet link

device

interface

Ethernet device

Aliases

eth-disconnect

ethernet-enable-capture

Enable capture to file

Arguments

Option Type Description

link

object

Ethernet link

file

path

Path to capture file

named-pipe

integer

Create a named pipe for wireshark

Aliases

eth-enable-capture

event-list

List all events, sources and event ids

This command does not have any aliases.
This command takes no named arguments.

exec

Alias for temu-exec.

exec-path-append

Append search path for the exec command

This command does not have any aliases.
This command takes no named arguments.

exec-path-list

List search paths used by the exec command

This command does not have any aliases.
This command takes no named arguments.

exec-path-prepend

Prepend search paths for the exec command

This command does not have any aliases.
This command takes no named arguments.

exit

Alias for temu-quit.

exp-pcregs

exp-pr

exp-pregs

exp-set-field

exp-write-field

experimental-debug-add-path

This command does not have any aliases.

Arguments

Option Type Description

path

path

experimental-debug-break

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

cpu

object

CPU (for relative breakpoints)

loc

string

Breakpoint location

addr

integer

Breakpoint address

experimental-debug-demute-break

Unmute break point, when hit a message will be printed.

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

id

integer

Break point ID

experimental-debug-dispose-ctxt

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Name of debugging context

experimental-debug-enable-auto-resume

This command does not have any aliases.
This command takes no named arguments.

experimental-debug-ignore-break

Set break point action to resume simulator. I.e. sim should ignore it.

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

id

integer

Break point ID

experimental-debug-list-contexts

This command does not have any aliases.
This command takes no named arguments.

experimental-debug-list-cu

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

experimental-debug-list-ranges

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

experimental-debug-list-source

This command does not have any aliases.

Arguments

Option Type Description

cpu

object

CPU whose PC will be used to list source

addr

integer

Address to list source around

lines

integer

Lines around address (default 5)

experimental-debug-list-variables

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

cpu

object

Processor

experimental-debug-load-ctxt

This command does not have any aliases.

Arguments

Option Type Description

mem

object

Memory space object

file

path

Path to file to load

experimental-debug-mute-break

Mute break point, when hit no message will be printed.

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

id

integer

Break point ID

experimental-debug-print-linenum-prog

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

func

string

function

experimental-debug-read-variable

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

cpu

object

Processor

variable

string

Variable name

experimental-debug-remap-path

This command does not have any aliases.

Arguments

Option Type Description

from

string

to

path

experimental-debug-set-context

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context name

experimental-debug-simulate-break

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

cpu

object

CPU triggering the break

addr

integer

Breakpoint address

experimental-debug-stop-break

Set break point action to stop simulator.

This command does not have any aliases.

Arguments

Option Type Description

ctxt

string

Debugging context (if omitted, using current)

id

integer

Break point ID

experimental-elf-load

Load ELF file for debugging new ELF loader.

Arguments

Option Type Description

file

path

Aliases

elf-load

experimental-print-class-registers

EXPERIMENTAL!!! Print registers docs for class

Arguments

Option Type Description

class

class

Aliases

exp-pcregs, exp-pcr

experimental-print-registers

EXPERIMENTAL!!! Print registers

Arguments

Option Type Description

obj

object

Aliases

exp-pregs, exp-pr

experimental-register-set-field

EXPERIMENTAL!!! Set register field

Arguments

Option Type Description

reg

register

regid

integer

field

string

value

integer

Aliases

exp-set-field

experimental-register-write-field

EXPERIMENTAL!!! Write register field

Arguments

Option Type Description

reg

register

field

string

value

integer

Aliases

exp-write-field

get-attr

Alias for memory-get-attrs.

graph

h

Alias for temu-help.

help

Alias for temu-help.

i

Alias for object-info.

i2c-bus-connect-target

Connect a target device to a I2C bus

This command does not have any aliases.

Arguments

Option Type Description

bus

interface

I2C bus interface

dev

interface

I2C target device interface

devaddr

integer

Device address/ID

i2c-bus-disconnect-target

Disconnect a target device from a I2C bus

This command does not have any aliases.

Arguments

Option Type Description

bus

interface

I2C bus interface

dev

interface

I2C device interface

devaddr

integer

Device address/ID

import

Alias for plugin-load.

import-env

import-global

Alias for plugin-load-global.

info

Alias for object-info.

init-scheduler

Select she scheduler to use

This command does not have any aliases.

Arguments

Option Type Description

variant

string

interrupt-lower

Lower interrupt

This command does not have any aliases.

Arguments

Option Type Description

iface

interface

irq

integer

interrupt-raise

Raise interrupt

This command does not have any aliases.

Arguments

Option Type Description

iface

interface

irq

integer

license

Alias for license-info.

license-agreement

This command does not have any aliases.
This command takes no named arguments.

license-checkout

This command does not have any aliases.

Arguments

Option Type Description

pool

string

License pool ID

license-info

Show info about your license

This command takes no named arguments.

Aliases

license

license-release

This command does not have any aliases.
This command takes no named arguments.

load

Alias for memory-load.

log-debug

Emit debug log message. Debug messages are only emitted in the asserts builds of TEMU.

This command does not have any aliases.
This command takes no named arguments.

log-disable-colours

Disable logging with colors to stdout/stderr

This command does not have any aliases.
This command takes no named arguments.

log-enable-colours

Enable logging with colors to stdout/stderr

This command does not have any aliases.
This command takes no named arguments.

log-error

Emit error log message

This command does not have any aliases.
This command takes no named arguments.

log-fatal

Emit fatal log message

This command does not have any aliases.
This command takes no named arguments.

log-info

Emit info log message

This command does not have any aliases.
This command takes no named arguments.

log-level

Show and set log level Log level is set by giving one of: fatal, error, warning, info, trace or debug as a positional argument

This command does not have any aliases.

Arguments

Option Type Description

obj

object

object to set log level for

category

string

logging category to modify

severity

string

severity to log (debug, info, warning, error or fatal)

log-set-file

Set file for TEMU log. Setting file to '<default>' will restore default behaviour. The log file will be appended to if it already exist.

This command does not have any aliases.

Arguments

Option Type Description

file

path

log-trace

Emit trace log message

This command does not have any aliases.
This command takes no named arguments.

log-warn

Emit warning log message

This command does not have any aliases.
This command takes no named arguments.

map

Alias for memory-map.

memory-assemble

assemble instruction

Arguments

Option Type Description

cpu

object

instr

string

addr

integer

count

integer

Aliases

as, assemble

memory-clear-faulty

Clear multiple event upset / uncorrectable bit

Arguments

Option Type Description

obj

object

Memory space object

addr

integer

Physical address

len

integer

Length of data block to clear faulty attribute

Aliases

meu-clear, clear-faulty

memory-clear-upset

Clear single event upset bit

Arguments

Option Type Description

obj

object

Memory space object

addr

integer

Physical address

len

integer

Length of data block to clear SEU attribute

Aliases

seu-clear

memory-clear-user

Clear user definable attribute in memory space

This command does not have any aliases.

Arguments

Option Type Description

obj

object

Memory space object

num

integer

User attribute number (1-3)

addr

integer

Physical address

len

integer

Length of data block to clear user attribute

memory-disassemble

disassemble memory range

Arguments

Option Type Description

cpu

object

func

string

Function to disassemble

va

integer

pa

integer

addr

integer

count

integer

number of instructions

Aliases

dis, disassemble

memory-get-attrs

Retrieves the attribute for the specified memory address

Arguments

Option Type Description

obj

object

Memory space object

addr

integer

Physical address

Aliases

get-attr

memory-ir-dump

Dumps IR to stdout

This command does not have any aliases.

Arguments

Option Type Description

memspace

object

addr

integer

count

integer

cpu

integer

memory-load

Load file to memory. Set the address parameter to treat the file as binary, otherwise the type will be auto-detected.

Arguments

Option Type Description

obj

object

file

path

addr

integer

Address to load file to (if set, treating file as binary)

dwarf

integer

enable experimental dwarf parsing

start-addr-var

string

Variable name to set start address in.

use-pa

integer

Use physical load address instead of virtual (supported by ELF files)

Aliases

load

memory-map

Maps object in a memory space. An object can be either given with the object argument in which case the default memory access interface of MemAccessIface will be used. If 'iface' is specified instead, an explicit memory access interface can be provided. This is usefulf for devices that multiple memory ranges to map.

Arguments

Option Type Description

addr

integer

length

integer

memspace

object

object

object

iface

interface

cacheable

integer

Aliases

map

memory-read

Show the contents of the memory

Arguments

Option Type Description

obj

object

addr

integer

physical address

length

integer

length in bytes

elemsize

integer

data element size (default = 0 = u8, 1 = u16, 2 = u32, 3 = u64)

Aliases

read, x

memory-set-faulty

Simulate multiple event upset / uncorrectable

Arguments

Option Type Description

obj

object

Memory space object

addr

integer

Physical address

len

integer

Length of data block to set faulty attribute

Aliases

meu, meu-set, set-faulty

memory-set-upset

Simulate single event upset

Arguments

Option Type Description

obj

object

Memory space object

addr

integer

Physical address

len

integer

Length of data block to set SEU attribute

Aliases

seu, seu-set

memory-set-user

Set user definable attribute in memory space

This command does not have any aliases.

Arguments

Option Type Description

obj

object

Memory space object

num

integer

User attribute number (1-3)

addr

integer

Physical address

len

integer

Length of data block to set user attribute

memory-translate

Translate virtual to physical address

Arguments

Option Type Description

cpu

object

addr

integer

Aliases

walk

memory-write

write memory contents

Arguments

Option Type Description

obj

object

addr

integer

length

integer

elemsize

integer

data

integer

Aliases

write, wr

meu

Alias for memory-set-faulty.

meu-clear

Alias for memory-clear-faulty.

meu-set

Alias for memory-set-faulty.

mil-std-1553-connect

Connect remote terminal to 1553 bus

Arguments

Option Type Description

bus

object

bus object

rt

object

remote terminal object

addr

integer

rt address

Aliases

milbus-connect

mil-std-1553-disconnect

Disconnect remote terminal from 1553 bus

Arguments

Option Type Description

bus

object

bus object

addr

integer

rt address

Aliases

milbus-disconnect

mil-std-1553-setbc

Set the bus-controller object for the 1553 bus

Arguments

Option Type Description

bus

object

bus object

bc

object

bus controller object

Aliases

milbus-setbc

milbus-connect

milbus-disconnect

milbus-setbc

Alias for mil-std-1553-setbc.

notification-list

List all notifications

This command does not have any aliases.
This command takes no named arguments.

object-assembly-complete

Mark the end of object assembly in a script. This will emit the temu.object-assembly-complete notification.

This command does not have any aliases.
This command takes no named arguments.

object-assembly-started

Mark the start of object assembly in a script. This will ensure temu.object-assembly-complete is published.

This command does not have any aliases.
This command takes no named arguments.

object-connect

connect two objects

Arguments

Option Type Description

a

property

Interface reference property ('obj.propname').

b

interface

Interface target ('obj:ifacename')

Aliases

connect

object-create

Create new object

This command does not have any aliases.

Arguments

Option Type Description

class

class

name

string

args

string

object-generate-graph

Generate the object graph as a dot file. If display is set to non-zero, the graph will be rendered and displayed using eog and a random file name will be generated in the current dir. NOTE: You need eog and graphviz installed to actually display the graph.

Arguments

Option Type Description

file

path

display

integer

Aliases

graph

object-info

Show object information

Arguments

Option Type Description

obj

object

base

string

hex(default), bin, dec or oct

Aliases

info, i

object-list

List all objects

This command does not have any aliases.
This command takes no named arguments.

object-print

Pretty print object

Arguments

Option Type Description

obj

object

Aliases

print, pp

object-prop-read

read property value (with side-effects from getter)

Arguments

Option Type Description

prop

property

index

integer

Aliases

read-prop

object-prop-write

write property value (with side-effects)

Arguments

Option Type Description

prop

property

val

integer

value

string

fval

double

index

integer

Aliases

write-prop

object-reset

Resets the given object

This command does not have any aliases.

Arguments

Option Type Description

obj

object

Object supporting the reset iface

warm

integer

Set to 1 for warm reset.

object-run

Run the machine or cpu for the given time. If time is omitted, the machine or CPU will run forever (or until a non-normal stop (halt, break, watch hit etc.))

Arguments

Option Type Description

obj

object

Object to run (cpu), runs scheduler otherwise.

cycles

integer

Time in cycles (only for CPUs)

time

double

Time in seconds.

perf

integer

Set to 1 to report emulator performance (MIPS-rating).

pc

integer

Program counter for start address of all CPUs.

Aliases

run

object-set-timesource

Set time source for object

Arguments

Option Type Description

obj

object

ts

object

Aliases

set-timesource, set-ts, connect-timesource

object-step

Step processor

Arguments

Option Type Description

obj

object

Object to step (if cpu object is to be stepped).

cpuidx

integer

CPU to step in a machine. Defaults to current CPU.

steps

integer

Number of steps, default is 1.

perf

integer

Set to 1 to report emulator performance of step operation.

pc

integer

PC to start stepping from.

Aliases

step

object-time

Get the simualted time for a machine or cpu

Arguments

Option Type Description

obj

object

Object to get time from.

Aliases

time

object-trace

Trace machine or processor

Arguments

Option Type Description

obj

object

Object to step (machine or cpu).

cpuidx

integer

CPU to step in a machine. Defaults to current CPU.

steps

integer

Number of steps, default is 1.

cpuid

integer

CPU index.

pc

integer

PC to start stepping from.

symbols

path

ELF file where to query symbols, optional

ignore

string

Comma separated symbol list to ignore traces from

call-graph

integer

Limit traces to function changes

Aliases

trace

objsys-check-sanity

Check sanity of object system

This command does not have any aliases.
This command takes no named arguments.

objsys-delete-all-objects

Erase all objects

This command does not have any aliases.
This command takes no named arguments.

objsys-delete-all-objects-and-classes

Erase all objects and classes

This command does not have any aliases.
This command takes no named arguments.

objsys-deserialise

Alias for snapshot-restore.

objsys-serialise

Alias for snapshot-save.

pbanks

Print info about all register banks.

This command does not have any aliases.

Arguments

Option Type Description

obj

object

Object to print bank info about.

plugin-append-path

Add plugin path

This command does not have any aliases.
This command takes no named arguments.

plugin-list

Show loaded plugins

This command does not have any aliases.
This command takes no named arguments.

plugin-load

Load plugin into temu

This command takes no named arguments.

Aliases

import

plugin-load-global

Load plugin into temu making symbols available globally

This command takes no named arguments.

Aliases

import-global

plugin-remove-path

Remove plugin path

This command does not have any aliases.
This command takes no named arguments.

plugin-show-paths

Show plugin paths

This command does not have any aliases.
This command takes no named arguments.

power-off

Powers off the model

This command does not have any aliases.

Arguments

Option Type Description

obj

object

Object.

power-on

Powers on the model

This command does not have any aliases.

Arguments

Option Type Description

obj

object

Object.

power-state

Prints the power state of the model

This command does not have any aliases.

Arguments

Option Type Description

obj

object

Object.

pp

Alias for object-print.

pregs

Print register contents.

This command does not have any aliases.

Arguments

Option Type Description

obj

object

Object to print registers for.

bank

string

Register bank, leave unset to print all of them.

reg

string

Register name to limit printout to just one register.

print

Alias for object-print.

q

Alias for temu-quit.

quit

Alias for temu-quit.

raise-trap

Alias for cpu-raise-trap.

read

Alias for memory-read.

read-prop

Alias for object-prop-read.

reg-enable

Enable register notification.

This command does not have any aliases.

Arguments

Option Type Description

obj

object

Object name

bank

string

Bank name

reg

string

Register name

notification

string

Notification name (pre-read, post-read, pre-write, post-write, pre-reset or post-reset).

reg-write

Write register value.

Arguments

Option Type Description

obj

object

Object name

bank

string

Bank name

reg

string

Register name

value

integer

Value to write.

Aliases

wreg

regs

Alias for cpu-show-regs.

reset

Alias for cpu-reset.

restore

Alias for snapshot-restore.

run

Alias for object-run.

save

Alias for snapshot-save.

script-run

Run script

This command does not have any aliases.

Arguments

Option Type Description

file

path

lang

string

script

string

serial-log-to-pcap

Start uart logging to pcap file

Arguments

Option Type Description

uart

object

Uart to listen

file

path

PCAP file for logging

Aliases

uart-log

serial-stop-logging-to-pcap

Stop uart logging to the pcap file

Arguments

Option Type Description

uart

object

Uart to stop pcap logging

Aliases

stop-uart-log

serialise

Alias for snapshot-save.

serialize

Alias for snapshot-save.

set

Alias for var-set.

set-faulty

Alias for memory-set-faulty.

set-reg

Alias for cpu-set-reg.

set-timesource

set-ts

seu

Alias for memory-set-upset.

seu-clear

Alias for memory-clear-upset.

seu-set

Alias for memory-set-upset.

snapshot-restore

reload a snapshot from file

Arguments

Option Type Description

file

path

Path of snapshot to restore.

inline

integer

Alias for inplace.

inplace

integer

Restore without deleting objects, preserves pointer integrity for external code.

Aliases

deserialise, deserialize, restore, objsys-deserialise, checkpoint-restore

snapshot-save

save a snapshot to file

Arguments

Option Type Description

file

path

Path to snapshot file to save.

Aliases

serialise, serialize, save, checkpoint, objsys-serialise, checkpoint-save

source

Alias for temu-exec.

spw-bus-connect

Connect two SpaceWire ports

Arguments

Option Type Description

port1

interface

port of the first device

port2

interface

port of the other end device

Aliases

spw-connect

spw-bus-disconnect

Disconnect two SpaceWire ports

Arguments

Option Type Description

port1

interface

port of the first device

port2

interface

port of the other end device

Aliases

spw-disconnect

spw-connect

Alias for spw-bus-connect.

spw-disconnect

Alias for spw-bus-disconnect.

step

Alias for object-step.

stop-uart-log

temu-exec

exec temu command line interface script

Arguments

Option Type Description

file

path

Aliases

source, exec

temu-generate-help

generate help document

This command does not have any aliases.

Arguments

Option Type Description

file

path

File to write help in.

temu-help

show temu help

Arguments

Option Type Description

command

string

Aliases

?, h, help

temu-quit

quit temu

This command takes no named arguments.

Aliases

quit, q, exit

temu-version

Show temu version

This command takes no named arguments.

Aliases

version

time

Alias for object-time.

trace

Alias for object-trace.

tsnap-read

Read TEMU Snapshot File

This command does not have any aliases.

Arguments

Option Type Description

file

path

Path to snapshot

tsnap-write

Write TEMU Snapshot File

This command does not have any aliases.

Arguments

Option Type Description

file

path

Path to snapshot

uart-break

Alias for break-uart.

uart-log

Alias for serial-log-to-pcap.

unset

Alias for var-delete.

var-delete

delete variable

Arguments

Option Type Description

var

string

Aliases

var-unset, unset

var-init-from-environment

Import environmental variables into the TEMU command line. If var is not given, all environment variables are imported.

Arguments

Option Type Description

var

string

Environment variable to import

Aliases

import-env

var-print

print variable

This command does not have any aliases.

Arguments

Option Type Description

var

string

var-print-all

print all variables

This command takes no named arguments.

Aliases

vars, env

var-set

set a variable

Arguments

Option Type Description

var

string

val

string

Aliases

set

var-unset

Alias for var-delete.

vars

Alias for var-print-all.

version

Alias for temu-version.

w

Alias for watchpoint-set.

walk

Alias for memory-translate.

warn

Alias for diag-warning.

watch

Alias for watchpoint-set.

watch-del

Alias for watchpoint-delete.

watch-list

Alias for watchpoint-list.

watch-set

Alias for watchpoint-set.

watchpoint-delete

delete watchpoint

Arguments

Option Type Description

id

integer

Aliases

delwp, wp-del, watch-del

watchpoint-list

list current watchpoints

This command takes no named arguments.

Aliases

wp-list, watch-list

watchpoint-set

Set watchpoint (default is write watchpoint) use kind=(r|w|rw) to change behaviour

Arguments

Option Type Description

obj

object

addr

integer

len

integer

kind

string

Aliases

watch, w, wp-set, watch-set

wp-del

Alias for watchpoint-delete.

wp-list

Alias for watchpoint-list.

wp-set

Alias for watchpoint-set.

wr

Alias for memory-write.

wreg

Alias for reg-write.

write

Alias for memory-write.

write-prop

Alias for object-prop-write.

x

Alias for memory-read.