diff --git a/v/usb.sv b/v/usb.sv index 46ce527..5042ca3 100644 --- a/v/usb.sv +++ b/v/usb.sv @@ -80,7 +80,7 @@ reg prev_clk_usb_data; always@ (posedge clk) begin prev_clk_usb_data <= in_usb_data; - if(prev_clk_usb_data ^ in_usb_data) usb_clk_cnt <= 5'd12; + if(prev_clk_usb_data ^ in_usb_data) usb_clk_cnt <= is_fs ? 5'd8 : 5'd12; else usb_clk_cnt <= usb_clk_cnt + 5'd1; // proxy_usb_data <= in_usb_data;