21.13.1.60 serdes_read_register
(Ask a Question)Description
This tcl command reads the SerDes register value and displays the result in the log window/console.
serdes_read_register -serdes "integer value" \
[-lane "integer value"] \
-name "Serdes Register Name"
Arguments
Parameter | Type | Description |
---|---|---|
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. |
serdes | integer | Specify SerDes block number. Must be between 0 and and varies between dies. |
lane | integer | Specify SerDes lane number. Must be between 0 and 3. The lane number must be specified when the lane register is used. Otherwise, the command will fail. When the lane number is specified along with the SYSTEM or PCIe register, the command will fail with an error message, as the lane is not applicable to them. |
name | string | Specify name of the SerDes register. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | SerDes block number must be specified and must be one of the following. |
None | Parameter 'serdes' has illegal value. |
None | serdes: Invalid argument value: '' (expecting integer value). |
None | Reg_name is either an invalid or unsupported SerDes register. |
None | Parameter 'lane' has illegal value. |
None | lane: Invalid argument value: '' (expecting integer value). |
None | Parameter 'name' has illegal value. |
None | 0 is either an invalid or unsupported SerDes register. |
None | Parameter 'param_name' is not defined. Valid command formatting is 'serdes_read_register [-deviceName "device name"] [-serdes "integer value"] [-lane "integer value"] [-name "Serdes Register Name"] '. |
Supported Families
SmartFusion 2 |
IGLOO 2 |
RTG4 |
Example
This example reads {SYSTEM_SER_PLL_CONFIG_HIGH} register value of the SerDes 0.
serdes_read_register -serdes 0 -name {SYSTEM_SER_PLL_CONFIG_HIGH}
See Also
serdes_lane_reset
serdes_write_register