xilsem
Vitis Drivers API Documentation
xsem_reformat_ebdcfi.c File Reference

Overview

This file reformats the structured essential bit data in xsem_ebdintern.c file by mapping only unique frame data in to XSem_EbdBuffer and generates file "xsem_edbgoldendata.c".

MODIFICATION HISTORY:
Ver   Who   Date        Changes


0.1 hv 06/27/2022 Initial Creation 0.2 anv 05/10/2023 Modified to add copyright information in xsem_ebdgoldendata.c 0.3 anv 02/25/2025 Added support for SSIT devices.

 

Typedefs

typedef struct EbdMask EbdMask
 EbdMask - EBD Mask structure. More...
 

Functions

void print_ebdb (FILE *OutFptr, u32 BlockTypes, u32 Rows)
 This function generates xsem_ebdgoldendata.c file with XSem_EbdBuffer loaded with frame map offset, frame maps and unique frame masks. More...
 
int main (int argc, char *argv[])
 Main function, reformats essential bit info from xsem_ebdintern.c. More...
 

Variables

struct {
input_tables []
 input_tables - input tables structure More...
 

Typedef Documentation

typedef struct EbdMask EbdMask

EbdMask - EBD Mask structure.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Main function, reformats essential bit info from xsem_ebdintern.c.

References input_tables, and print_ebdb().

void print_ebdb ( FILE *  OutFptr,
u32  BlockTypes,
u32  Rows 
)

This function generates xsem_ebdgoldendata.c file with XSem_EbdBuffer loaded with frame map offset, frame maps and unique frame masks.

Parameters
OutFptr[In]: file pointer BlockTypes[In] : Block type index Rows[In] : Row index

Referenced by main().

Variable Documentation

struct { ... } input_tables[]
Initial value:
= {
{ 0, 0, XSEM_BT0ROW0_FRAMES, EbdSetBT0Row0 },
{ 0, 1, XSEM_BT0ROW1_FRAMES, EbdSetBT0Row1 },
{ 0, 2, XSEM_BT0ROW2_FRAMES, EbdSetBT0Row2 },
{ 0, 3, XSEM_BT0ROW3_FRAMES, EbdSetBT0Row3 },
{ 3, 0, XSEM_BT3ROW0_FRAMES, EbdSetBT3Row0 },
{ 3, 1, XSEM_BT3ROW1_FRAMES, EbdSetBT3Row1 },
{ 3, 2, XSEM_BT3ROW2_FRAMES, EbdSetBT3Row2 },
{ 3, 3, XSEM_BT3ROW3_FRAMES, EbdSetBT3Row3 },
{ 4, 0, XSEM_BT4ROW0_FRAMES, EbdSetBT4Row0 },
{ 4, 1, XSEM_BT4ROW1_FRAMES, EbdSetBT4Row1 },
{ 4, 2, XSEM_BT4ROW2_FRAMES, EbdSetBT4Row2 },
{ 4, 3, XSEM_BT4ROW3_FRAMES, EbdSetBT4Row3 },
{ 5, 0, XSEM_BT5ROW0_FRAMES, EbdSetBT5Row0 },
{ 5, 1, XSEM_BT5ROW1_FRAMES, EbdSetBT5Row1 },
{ 5, 2, XSEM_BT5ROW2_FRAMES, EbdSetBT5Row2 },
{ 5, 3, XSEM_BT5ROW3_FRAMES, EbdSetBT5Row3 },
}

input_tables - input tables structure

Referenced by main().