case current_state is
when IDLE =>
- next_dont_understand <= '0';
next_API_SEND_OUT <= '0';
next_API_SHORT_TRANSFER_OUT <= '0';
- next_unknown <= '0';
- next_timeout <= '0';
- next_nomoredata <= '0';
next_dat_data_counter <= (others => '0');
if API_TYP_IN = TYPE_HDR then
+ next_dont_understand <= '0';
next_state <= HEADER_RECV;
+ next_unknown <= '0';
+ next_timeout <= '0';
+ next_nomoredata <= '0';
end if;
when HEADER_RECV => --read and save HDR