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';
elsif rising_edge(@{clk}) then
-out_enb <= '0';
+@{out_val_enb} <= '0';
if do_read = '1' then
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);
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;
end if;
end process read_data;
-
-end architecture read_csv_a;
</architecture>
<patterns>
<delta value="$nb_lines*$item_per_line"/>