pocho
Junior Member level 1
I have a problem:
this is the code:
could you help me ?
* Error: (vsim-7) Failed to open VHDL file "Addizione.txt" in rb mode.
No such file or directory. (errno = ENOENT)
this is the code:
Code:
read_values: process
file fp: TEXT open READ_MODE is "Addizione.txt";
variable ln: line;
variable x, y: std_logic_vector (31 downto 0);
variable i: integer := 0;
begin
while endfile( fp ) /= true loop --fai modifica Menichelli
readline( fp, ln );read( ln, x );read( ln, y );
test_vector_1(i) <= x;
test_vector_2(i) <= y;
i := i+1;
end loop;
test_vector_length <= i;
wait;
end process read_values;
could you help me ?