]> rtime.felk.cvut.cz Git - fpga/pwm.git/commitdiff
Wave_table impure function.
authorVladimir Burian <buriavl2@fel.cvut.cz>
Thu, 26 May 2011 20:40:07 +0000 (22:40 +0200)
committerVladimir Burian <buriavl2@fel.cvut.cz>
Thu, 26 May 2011 20:40:07 +0000 (22:40 +0200)
wave_table.vhd

index 8bd9f03785075be1dff0512162fbff728128eb85..5637e48cc1cc736c319dfaed61178e6a5b52bb15 100644 (file)
@@ -43,7 +43,7 @@ architecture behavioral of wave_table is
   type wave_table_t is array (0 to SIZE-1) of bit_vector (DAT_W-1 downto 0);
 
   
-  function init_table_from_file (file_name : string) return wave_table_t is
+  impure function init_table_from_file (file_name : string) return wave_table_t is
     file table_file    : text open read_mode is file_name;
     variable file_line : line;
     variable table     : wave_table_t;