xilsem
Vitis Drivers API Documentation
xsem_ebd_search.h File Reference

Overview

This file contains required declarations and definitions.

MODIFICATION HISTORY:
Ver     Who  Date         Changes


0.1 hv 05/17/2022 Initial creation 0.2 anv 02/24/2025 Updated XSem_EbdLookUp function arguments to make it useful for both mono and ssit.

Macros

#define XSEM_EBDSEARCH_H
 by using protection macros More...
 

Functions

u32 XSem_EbdLookUp (u8 BtIndex, u8 RowIndex, u32 FAddr, u32 QwordIndex, u32 BitIndex, volatile int *XSem_EbdBuffer)
 This API can be used to check whether a particular bit is an Essential bit or not. More...
 

Macro Definition Documentation

#define XSEM_EBDSEARCH_H

by using protection macros

Function Documentation

u32 XSem_EbdLookUp ( u8  BtIndex,
u8  RowIndex,
u32  FAddr,
u32  QwordIndex,
u32  BitIndex,
volatile int *  XSem_EbdBuffer 
)

This API can be used to check whether a particular bit is an Essential bit or not.

Parameters
BtIndex[In]: Block type (Valid Inputs: 0, 3, 4, 5) RowIndex[In] : Row (Valid Inputs: 0 to 3) FAddr[In] : Frame Address (Valid Inputs: Refer note) QwordIndex[In] : Qword (Valid Inputs: 0 to 24) BitIndex[In] : Bit (Valid Inputs: 0 to 127) XSem_EbdBuffer : Pointer to golden EBD data buffer
Returns
0U : Input Bit is essential 1U : Input Bit is not essential 2U : Invalid Input
Note
  • Total number of frames in a row is not same for all rows.
  • XSem_CmdCfrGetTotalFrames API is provided to know the total number of frames in a row for each block. Output param (FrameCntPtr) of XSem_CmdCfrGetTotalFrames API is updated with total number of frames of each block type for the input row. If a particular block in a row has 0 frames, then error injection shall not be performed. Range of Frame number: 0 to (FrameCntPtr[n] - 1) where n is block type with range 0 to 6.

Check if Input bit is set or not, If Set, then the bit is essential, else, not essential