Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VHDL 0.38 KB | None | 0 0
  1. ---------------------------------------------- Zapisanie do pliku
  2.     zapisanie :process (clk,przycisk)  
  3.    
  4.         file plik_WY: text open write_mode is out "KARTA.txt";
  5.         variable linia_wy: line;   
  6.        
  7.     begin
  8.         if (zapis = True) then     
  9.             write(linia_wy,czas_out);      
  10.             writeline(plik_wy,linia_wy);           
  11.             file_close(plik_WY);       
  12.             zapis := False;
  13.         end if;
  14.     end process zapisanie;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement