Line 53... |
Line 53... |
// metastability, and delay hazards. Not entirely sure, but it appears that
|
// metastability, and delay hazards. Not entirely sure, but it appears that
|
// this bug caused more problems with some of the newer low power FPGAs
|
// this bug caused more problems with some of the newer low power FPGAs
|
// Maybe because they are more prone to problems with metastable
|
// Maybe because they are more prone to problems with metastable
|
// inputs that feed logic functions causing excessive high speed
|
// inputs that feed logic functions causing excessive high speed
|
// toggle activity, and disrupting nearby cicuits.
|
// toggle activity, and disrupting nearby cicuits.
|
|
// Version 2.0 - June 16th 2008. Added two new top level modules which
|
|
// allow the instantiation of only host (usbHost.v), or only device
|
|
// features. Added double sync stages between usbClk, and busClk domains
|
|
// to fix possible metastability issues. Also modified synchronization to
|
|
// allow operation with busClk frequency less than usbClk frequency (down to
|
|
// 24MHz). Integrated full support for USB PHY. Prior to this modification
|
|
// the user would need to instantiate a GPIO module to control USB speed,
|
|
// D+ and D- pull-up control, and VBUS detect. Fixed bug in bus interface wb_ack.
|
|
// Modified cross-clock synchronisation of fifo resets
|
|
// Added usbDevice, a standalone usb device implementation of usbhostslave
|
|
// no additional hardware or software required
|
|
|
|
|
// Most significant nibble corresponds to major revision.
|
// Most significant nibble corresponds to major revision.
|
// Least significant nibble corresponds to minor revision.
|
// Least significant nibble corresponds to minor revision.
|
`define USBHOSTSLAVE_VERSION_NUM 8'h13
|
`define USBHOSTSLAVE_VERSION_NUM 8'h20
|
|
|
//Host slave common registers
|
//Host slave common registers
|
`define HOST_SLAVE_CONTROL_REG 1'b0
|
`define HOST_SLAVE_CONTROL_REG 1'b0
|
`define HOST_SLAVE_VERSION_REG 1'b1
|
`define HOST_SLAVE_VERSION_REG 1'b1
|
|
|