Forum Discussion
sstrell
Super Contributor
5 years agoWhat library/package are you using to do this? You don't show that part of your code. A typical setup would be:
LIBRARY ieee;
USE STD.TEXTIO.ALL;
USE ieee.std_logic_1164.ALL;
USE ieee.std_logic_textio.ALL;
and I don't see that you've set up a file handle:
FILE vectorfile: TEXT OPEN READ_MODE IS "input_vectors.txt";
And if you're using TEXTIO, you don't need to read the spaces. They're skipped automatically.