list-instrumentation-tools list-length
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

list-interfaces

Synopsis

list-interfaces [object|"class"] ["substr"] [-include-standard-interfaces]
<conf_object>.list-interfaces ["substr"] [-include-standard-interfaces]

Description

The list-interfaces command displays a list of all interfaces implemented by an object or a class, all its named port interfaces, as well as all interfaces implemented by associated port objects.

If neither object nor class is not specified, all currently known interfaces will be listed, except port interfaces.

If substr is specified, just interfaces whose names contain the given substring will be listed.

If the flag -include-standard-interfaces is supplied all interfaces implemented by port objects will be listed, including namespace objects.

When used in an expression, the command returns a list with three elements: a list of interfaces implemented by the object/class, a list of lists of the form [port, iface1, ..., ifaceN] of port objects interfaces and a similar list of implemented port interfaces.

Provided By

Simics Core
list-instrumentation-tools list-length