OpenCores
URL https://opencores.org/ocsvn/usbhostslave/usbhostslave/trunk

Subversion Repositories usbhostslave

[/] [usbhostslave/] [trunk/] [RTL/] [wrapper/] [usbHostSlave.v] - Diff between revs 40 and 43

Show entire file | Details | Blame | View Log

Rev 40 Rev 43
Line 223... Line 223...
wire noActivityTimeOutEnableToSIE;
wire noActivityTimeOutEnableToSIE;
wire noActivityTimeOutEnableFromHost;
wire noActivityTimeOutEnableFromHost;
wire noActivityTimeOutEnableFromSlave;
wire noActivityTimeOutEnableFromSlave;
wire connectSlaveToHost;
wire connectSlaveToHost;
 
 
assign USBFullSpeed = fullSpeedBitRateToSIE;
// This is not a bug.
 
// USBFullSpeed controls the PHY edge speed.
 
// The only time that the PHY needs to operate with low speed edge rate is
 
// when the host is directly connected to a low speed device. And when this is true, fullSpeedPolarity
 
// will be low. When the host is connected to a low speed device via a hub, then speed can be full or low
 
// but according to spec edge speed must be full rate edge speed. 
 
assign USBFullSpeed = fullSpeedPolarityToSIE;
 
//assign USBFullSpeed = fullSpeedBitRateToSIE;  
assign USBDPlusPullup = (USBFullSpeed & connectSlaveToHost);
assign USBDPlusPullup = (USBFullSpeed & connectSlaveToHost);
assign USBDMinusPullup = (~USBFullSpeed & connectSlaveToHost);
assign USBDMinusPullup = (~USBFullSpeed & connectSlaveToHost);
 
 
usbHostControl u_usbHostControl(
usbHostControl u_usbHostControl(
  .busClk(clk_i),
  .busClk(clk_i),

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.