xilsem
Vitis Drivers API Documentation
xsem_npi_ssit_example.c File Reference

Overview

This file has XilSEM NPI SHA error injection example.

MODIFICATION HISTORY:
Ver   Who   Date        Changes


0.1 hb 07/03/2022 Initial Creation 0.2 hv 08/08/2022 Fixed build error due to updated macros 0.3 hv 08/15/2022 Updated broadcast APIs to check status of all SLRs separately 0.4 hb 08/22/2022 Updated to use XSem_Ssit_CmdGetStatus API 0.5 gm 03/06/2023 Updated total test count with SLR count macro to support different SSIT devices. 0.6 anv 10/18/2023 Added macro protection to Enable Error Injection Feature usage and Updated to get XilSEM NPI status prints of all SLRs seperately

Functions

int main (void)
 The purpose of this function is to illustrate the usage of client APIs for NPI scan over IPI for all SLRs in SSIT device. More...
 

Function Documentation

int main ( void  )

The purpose of this function is to illustrate the usage of client APIs for NPI scan over IPI for all SLRs in SSIT device.

Returns
  • XST_SUCCESS - on successful execution of injection and detection of error
  • XST_FAILURE - on failure
Note
NPI example always injects error in the golden SHA of the first descriptor. The injected SHA error can be corrected by executing the error injection sequence again. Real SHA errors are uncorrectable.

This example assumes NPI scan configuration is same for all SLRs

References XSem_NpiEventRegisterNotifier().