xilsem
Vitis Drivers API Documentation
xsem_decode_ebdcfi.c File Reference

Overview

This file will take uncompressed *.ebd_cfi file as input and generates a structured data in file "xsem_ebdintern.c" for all frames.

MODIFICATION HISTORY:
Ver   Who   Date        Changes


0.1 hv 04/04/2022 Initial Creation

Functions

int main ()
 Main function, decodes essential bit info from ebc_cfi file. More...
 

Function Documentation

int main ( void  )

Main function, decodes essential bit info from ebc_cfi file.

Below 2-d array is initialized with last frame address in each row of a block Here we have initialised for vc1902. The last frame address may vary from device to device.

Open the existing file mypdi.ebc_cfi using fopen() in read mode using "r" attribute

Check if this InputFilePtr/OutputFilePtr is null

which maybe if the file does not exist

Create seperate structure for each row of a block type and initiailise with essentail bit data of all frames in that row by reading from *.ebd_cfi