Im exporting the data to a file using print but now I need to solve this system for different values of my parameters and i dont want to create different files manually. Does anyone knows how can I create different files to store the different solutions i get for the different values of my parameters? Sorry for my english and thanks!
Christin K. wrote: > Im exporting the data to a file using print From WHERE? > Does anyone knows how can I create different files With WHAT? What language do you use?
I am using VHDL language.
Different data should be write into different files by creating
manually...
Below is the equivalent C code. I am not able convert it to VHDL..
FILE *files[numfiles];
for (int i = 0; i < numfiles; i++)
{
char filename[20];
sprintf(filename, "results%d.dat", i);
files[i] = fopen(filename, "w");
}
Guest
#4910108
Here is a starting point:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
Text and file processing is no fun in VHDL. I would write everything with a tag in a single file. After that you could any better tool for processing like python, matlab, c, you-name-it. Duke
Thanks a lot Duke Scarring.
Requirement is in VHDL.Can you suggest where can i get materials
on File system in VHDL.
Christin K. wrote: > Can you suggest where can i get materials on File system in VHDL. Look there somewhere around page 500: http://xilinx.eetrend.com/files-eetrend-xilinx/forum/201404/7000-11806-the_designers_guide_to_vhdlpeter_j.ashenden.pdf And there was stefanvhdl.org ... As a pity its offline now, but with wayback you ca look a captured version of the page: https://web.archive.org/web/20160914062538/http://stefanvhdl.com/vhdl/html/index.html
Thank you lkmiller..
Reply
Please log in before posting.