05-15-2019 05:18 AM
Hello, The code attached is a very simple program designed to read lines of data from a file. However, it does not read anything. If anyone could please help me it would be greatly appreciated. Attached is also the file it is supposed to read from.
05-19-2019 01:40 AM
First, is this meant to be code that's implemented on the FPGA? Or just testbench code? If it's meant to be on the FPGA, none of the file access stuff will work - the FPGA doesn't have access to your PC's HDD.
Second, the thing that immediately stands out to me (as someone with virtually no VHDL knowledge) is that the code is looking for a file called input_vectors.txt, but the file attached is called censusl.txt. Might be worth checking that you've got the right filename.