analyze-log Example - 2024.2 English - UG908

Vivado Design Suite User Guide: Programming and Debugging (UG908)

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

Below is an example of running the pdi_dbg_util analyze-log subcommand. In this example, the device targeted by the PDI is an xvc1902 belonging to the Versal architecture.

pdi_dbg_util analyze-log -p design_top.pdi -a versal -d xcvc1902 pdi.log

The output of this example is as follows:

Analyzing PLM Log....
[308.467]PLM Error Status: 0x03260014
    PLM Major Error: 0x0326
    --------------------------------------------------
    Name: XLOADER_ERR_GEN_IDCODE
    Description: Error if Vivado configured part (IDCODE) mismatches with the actual part
 
    PLM Minor Error: 0x0014
    --------------------------------------------------
    Name: XLOADER_ERR_IDCODE
    Description: IDCODE mismatch

In this case, the error from the log indicates an IDCODE mismatch. For this example, the log was generated when attempting to boot using the design_top.pdi on an xcvm1802. Because this PDI is not compatible with the xcvm1802 device, the boot log shows that the configuration terminated and generated error 0x03260014.

This example shows that with a PDI log, the analyze-log command can read and process errors contained in the file. This command is useful when working with remote situations where the Versal device is not directly accessible for debugging.