Forum Discussion
Altera_Forum
Honored Contributor
10 years agohandling two dimensional array using vhdl
i have a two dimensional array in a text file. i want to read it from the text file and write it in another text file as a two dimensional array. i have tried using the code given below. but it write...
Altera_Forum
Honored Contributor
10 years agoYour code has no mention of a line length, so there is no way to know how many values to write onto each line.
The write process also writes out every single value. You need to save the writeline() procedure until you have a complete line to write.