i`ve given wait for 10 ns; this is showin me some 25 - 30 values but it stored in integer so now i want to place the values in array so i`m altering it by declaring an array. when it comes to assigning integer value to array how do i alter the program
architecture Behavioral of file2 is
type integer1 is array (integer range 1 to 191500) of integer
begin
process
file test : text open read_mode is "C:\Documents and Settings\Chitra\Desktop\decimal.txt";
--file file test: text is in decimal.txt;
variable buff: line;
variable x:integer range 255 downto 0 ; --- x1 can be of any format
begin
while (not endfile(test))loop
readline (test,buff);
read (buff,x);
int<=x ;
for i in 1 to 191500 loop
integer1(i)<=int;
wait for 10 ns;
end loop;
end loop;
end process;
end Behavioral;
how to alter this properly?