X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/3bcfe4df6fdde086eb1b59f7a0173358170174a1..e0eaffd44fc9733bc230a803c80d8d5efd0faca6:/lib/implementations/read_csv_impl.xml?ds=inline diff --git a/lib/implementations/read_csv_impl.xml b/lib/implementations/read_csv_impl.xml index aa5e00f..389bbb3 100644 --- a/lib/implementations/read_csv_impl.xml +++ b/lib/implementations/read_csv_impl.xml @@ -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;