Forum Discussion
Altera_Forum
Honored Contributor
10 years agoUnable to intialize constant using data from a file(ModelSim 10.3, Quartus Prime15.1)
Hello, I am facing two problems with loading content from a file in VHDL. The file containts 32bit fixed point values and in each line are two values. The whole file is about 60000 lines long. I h...
Altera_Forum
Honored Contributor
10 years agoHave you tried to debug this function? there is no error here in the code as far as I can see - does the file actually exist? does it actually get opened? what you describe could happen if the loop never runs because it cannot find the file.
Try putting some report statements in code for debug. One a second note: quartus does not support using textio for initialising constants. So this code cannot be synthesised.