getperipherals - 2024.2 English - UG1725

Software Debugger Reference Guide (UG1725)

Document ID
UG1725
Release Date
2024-11-13
Version
2024.2 English

Get a list of all peripherals in the HW design

Syntax

getperipherals <xsa> <processor-instance>

Return the list of all the peripherals in the hardware design, along with version and type. If [processor-instance] is specified, return only a list of slave peripherals connected to that processor.

Options

None.

Returns

If successful, this command returns the list of peripherals. Otherwise it returns an error.

Examples

getperipherals system.xsa

Return a list of peripherals in the hardware design.

getperipherals system.xsa ps7_cortexa9_0

Return a list of peripherals connected to processor ps7_cortexa9_0 in the hardware design.