1
0
mirror of https://github.com/avakar/usbcorev.git synced 2024-10-22 02:17:39 +08:00

Fixed ACK timing on toggle error.

This commit is contained in:
Martin Vejnár 2013-06-09 10:54:03 +02:00
parent fb2e32dc58
commit ee47046404

View File

@ -170,7 +170,7 @@ multisample5 se0_filter(
reg[2:0] short_idle_counter;
assign short_idle = short_idle_counter == 1'b0;
always @(posedge clk_48) begin
if (se0 || !j)
if (se0 || !j || xpacket)
short_idle_counter <= 3'b111;
else if (short_idle_counter != 1'b0)
short_idle_counter <= short_idle_counter - 1'b1;