modukuri
Newbie level 3
vhdl function to parse text file
Hi :
I'm working with VHDL text I/O to read data from text files and to write the output back into a text file. The input file is a text file and it has data in the form of a matrix (integer values). Basically the text file has image data. I need to read this data in matrix form. To do that I defined an array and called a function to return an after reading all the values from the text file. But it is not working that way. So, I would appreciate if somebody can give me an idea regarding the same.
Thanks,
MS
Hi :
I'm working with VHDL text I/O to read data from text files and to write the output back into a text file. The input file is a text file and it has data in the form of a matrix (integer values). Basically the text file has image data. I need to read this data in matrix form. To do that I defined an array and called a function to return an after reading all the values from the text file. But it is not working that way. So, I would appreciate if somebody can give me an idea regarding the same.
Thanks,
MS