XSem_CmdCfrNjctErr - 2022.1 English

Xilinx Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2022-04-21
Version
2022.1 English

This function is used to inject an error at a valid location in CRAM from user application. Primarily this function sends an IPI request to PLM to perform error injection in CRAM with user provided arguments in *ErrDetail, waits for PLM to process the request and reads the response message.

Prototype

XStatus XSem_CmdCfrNjctErr(XIpiPsu *IpiInst, XSemCfrErrInjData *ErrDetail, XSemIpiResp *Resp);

Parameters

The following table lists the XSem_CmdCfrNjctErr function arguments.

Table 1. XSem_CmdCfrNjctErr Arguments
Type Name Description
XIpiPsu * IpiInst Pointer to IPI driver instance
XSemCfrErrInjData * ErrDetail Structure Pointer with Error Injection details
  • ErrDetail->Row : Row Number (Min: 0 , Max: (value at CFU_ROW_RANGE)-1)
  • ErrDetail->Efar : Frame Address
    • Frame Number [0:19] (Refer note)
    • Block Type [20:22]
  • ErrDetail->Qword : Quad Word(Min: 0, Max: 24)
  • ErrDetail->Bit : Bit Position(Min: 0, Max: 127)
XSemIpiResp * Resp Structure Pointer of IPI response.
  • Resp->RespMsg1:Acknowledgment ID of CRAM error injection(0x10304)
  • Resp->RespMsg2: Status of CRAM error injection

Returns

This API returns the success or failure.
  • XST_FAILURE: On CRAM error injection failure
  • XST_SUCCESS: On CRAM error injection success