1 |
10 |
sfielding |
//////////////////////////////////////////////////////////////////////
|
2 |
|
|
// usbHostSlave_h.v
|
3 |
|
|
//////////////////////////////////////////////////////////////////////
|
4 |
|
|
|
5 |
|
|
`ifdef usbHostSlave_h_vdefined
|
6 |
|
|
`else
|
7 |
|
|
`define usbHostSlave_h_vdefined
|
8 |
|
|
|
9 |
12 |
sfielding |
// Version 6 - Feb 4th 2005. Fixed bit stuffing and de-stuffing. This version succesfully supports
|
10 |
14 |
sfielding |
// control reads and writes to USB flash dongle
|
11 |
|
|
// Version 7 - Feb 24th 2005. Added support for isochronous transfers, fixed resume, connect and disconnect
|
12 |
|
|
// time outs, added low speed EOP keep alive. The TX bit rate is now controlled by
|
13 |
|
|
// SIETransmitter, and takes account of the requirement that SOF, and PREAMBLE are always full
|
14 |
|
|
// speed, and TX resume is always low speed.
|
15 |
|
|
// Fixed read clock recovery (readUSBWireData.v) issue which was resulting
|
16 |
|
|
// in missing receive packets.
|
17 |
|
|
// Fixed broken SOF Sync mode (where transacations are synchronized with the SOF transmission)
|
18 |
|
|
// by adding kludged delay to softranmit. This needs to be fixed properly.
|
19 |
|
|
// This version has undergone limited testing
|
20 |
|
|
// with full speed flash dongle, low speed keyboard, and a PC in full and low speed modes.
|
21 |
16 |
sfielding |
// Version 8 - June 24th 2005. Added bus access to the host SOFTimer. This version has been tested
|
22 |
|
|
// with uClinux, and is known to work with a full speed USB flash stick.
|
23 |
|
|
// Moving Opencores project status from Beta to done.
|
24 |
|
|
// TODO: Test isochronous mode, and low speed mode using uClinux driver
|
25 |
|
|
// Create a seperate clock domain for the bus interface
|
26 |
|
|
// Add frame period adjustment capability
|
27 |
|
|
// Add compilation flags for slave only and host only versions
|
28 |
|
|
// Create data bus width options beyond 8-bit
|
29 |
|
|
`define USBHOSTSLAVE_VERSION_NUM 8'h08
|
30 |
10 |
sfielding |
|
31 |
|
|
//Host slave common registers
|
32 |
|
|
`define HOST_SLAVE_CONTROL_REG 1'b0
|
33 |
|
|
`define HOST_SLAVE_VERSION_REG 1'b1
|
34 |
|
|
|
35 |
|
|
`endif //usbHostSlave_h_vdefined
|
36 |
|
|
|