02-23-2021 10:23 PM
In one of my designs I need 1024 bits as inputs to a custom AXI peripheral which I am planning to give through an external file stored in sd card. I need to extract 32 bits each from the given 1024 bits and process it. In the Xilinx SDK I have written a code for doing the operations but each bit will be taken as a character and stored its ASCII value gets stored in the memory. How can I exactly read a binary data from an external file (I have stored the data in a text file, though I am not sure about what other ways it can be stored), process it in Zynq PS and get back the binary results in another file? How can I access the input data in the board (where exactly is it getting stored?)
02-25-2021 01:42 AM
Hi @Aparna_MK,
You can check the xilffs library and it's examples.
02-25-2021 01:42 AM
Hi @Aparna_MK,
You can check the xilffs library and it's examples.