logari84
Newbie level 6

Accesing all files in folder using VHDL textio library
Hi all,
for the project I am currently working on, I am using data from an input file. My design is almost done but I have tested it only with one input data file. Now I want to test it on all of the data files (~10000). In addition I want to make some statistics based on them. I am wondering if there is a way to switch from a constant name for the input file (51_303042564_0 in the example line that follows) to a variable name. Or if there is a way to access sequentially all the files in a folder. Apparently I couldn't find something on the web.
This is the way I am accessing the file "51_303042564_0"
file infile : t_char_file open read_mode is "51_303042564_0";
Thank you in advance.
Hi all,
for the project I am currently working on, I am using data from an input file. My design is almost done but I have tested it only with one input data file. Now I want to test it on all of the data files (~10000). In addition I want to make some statistics based on them. I am wondering if there is a way to switch from a constant name for the input file (51_303042564_0 in the example line that follows) to a variable name. Or if there is a way to access sequentially all the files in a folder. Apparently I couldn't find something on the web.
This is the way I am accessing the file "51_303042564_0"
file infile : t_char_file open read_mode is "51_303042564_0";
Thank you in advance.