I want to read a .txt file from a SD card and load it into a register vector. is this possible? because I've read somewhere that file handling can only be done at simulation time to load values/inputs from files.
basically I want to display a 16-bit colored image on LCD using VGA on ZYBO. I've extracted the R, G, B values from each pixel using MATLAB and now I want to assign them to respective r, g, b vector of each pixel which can only be done using file handling, since MATLAB exports these values to .txt file
Question
shahbaz
Hi,
I want to read a .txt file from a SD card and load it into a register vector. is this possible? because I've read somewhere that file handling can only be done at simulation time to load values/inputs from files.
basically I want to display a 16-bit colored image on LCD using VGA on ZYBO. I've extracted the R, G, B values from each pixel using MATLAB and now I want to assign them to respective r, g, b vector of each pixel which can only be done using file handling, since MATLAB exports these values to .txt file
Link to comment
Share on other sites
13 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.