21.13.1.35 pcie_config_space

Description

This Tcl command displays the value of the entered parameter in the SmartDebug log window and returns the register:field value to the Tcl.

pcie_config_space -pcie_logical_name {Pcie Logical Name} \
                  -paramNamelist {Pcie Parameter Name}

Arguments

ParameterTypeDescription

deviceName

string

Optional user-defined device name. The device name is not required if there is only one device in the current configuration, or a device has already been selected using the set_debug_device command.

pcie_logical_name

string

​Complete logical hierarchy of the PCIE block whose status is to be read from the device. This parameter is mandatory.

paramNamelist

string

Parameter name to read from the device. This parameter is optional.

Return TypeDescription

string

Returns register:field value.

Error Codes

Error CodeDescription

None​

Parameter 'arg_name' is not defined. Valid command formatting is 'pcie_config_space [-deviceName "device name"] -pcie_logical_name "Pcie Logical Name" [-paramNameList "[Pcie Parameter Name]+"] [-allparams "TRUE | FALSE"]'.

None​

Required parameter 'pcie_logical_name' is missing.

None​

Parameter 'pcie_block_name' is not defined. Valid command formatting is'pcie_config_space [-deviceName "device name"] -pcie_logical_name "Pcie Logical Name" [-paramNameList "[Pcie Parameter Name]+"] [-allparams "TRUE | FALSE"]'.

None​

Parameter 'param_name' is not defined. Valid command formatting is'pcie_config_space [-deviceName "device name"] -pcie_logical_name "Pcie Logical Name" [-paramNameList "[Pcie Parameter Name]+"] [-allparams "TRUE | FALSE"]'.

Supported Families

PolarFire

PolarFire SoC

Example

Output Display in SmartDebug window: 512 bytes

Return value to the tcl script: 0x2

pcie_config_space -pcie_block_name {sb_0/CM1_Subsystem/my_pcie_0} \
                  -param_name {neg_max_payload}

See Also

  • pcie_ltssm_status