end else if (count_out==0 && `in_full) begin
`drain_in
data_to_host_full_word <= in_d;
- count_out <= 6;
+ count_out <= 8;
end else if (count_out!=0 && !data_to_host_full && !data_to_host_write_enable) begin
- data_to_host <= data_to_host_full_word[7:0];
- data_to_host_full_word <= (data_to_host_full_word >> 8);
+ data_to_host <= { 2'b0, data_to_host_full_word[5:0] };
+ data_to_host_full_word <= (data_to_host_full_word >> 6);
data_to_host_write_enable <= 1;
count_out <= count_out-1;
end