X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/a7299f808c1906872b76aa62fb6d8276096c4ff5..refs/heads/master:/lib/implementations/read_csv_impl.xml diff --git a/lib/implementations/read_csv_impl.xml b/lib/implementations/read_csv_impl.xml index 8010600..389bbb3 100644 --- a/lib/implementations/read_csv_impl.xml +++ b/lib/implementations/read_csv_impl.xml @@ -2,10 +2,10 @@ - - - read a csv file - read a csv file + + + + @@ -62,7 +62,7 @@ new_line <= '0'; item_count := 0; line_count := 0; last_line := '0'; -out_enb <= '0'; +@{out_val_enb} <= '0'; dly_item_count := 0; dly_line_count := 0; item_count_enb := '0'; @@ -70,7 +70,7 @@ line_count_enb := '0'; elsif rising_edge(@{clk}) then -out_enb <= '0'; +@{out_val_enb} <= '0'; if do_read = '1' then @@ -101,7 +101,7 @@ end if; else read(l, in_val); out_s <= to_unsigned(in_val, item_width); -out_enb <= '1'; +@{out_val_enb} <= '1'; item_count := item_count + 1; if (item_count < item_per_line) then read(l, comma); @@ -121,7 +121,7 @@ end if; end if; end if; -elsif start_read = '1' then +elsif @{start} = '1' then -- reading the first line readline(in_data, l); line_count := line_count + 1; @@ -132,8 +132,6 @@ do_read <= '1'; end if; end process read_data; - -end architecture read_csv_a;