1 |
22 |
sfielding |
USBHostSlave has been successfully compiled using Quartus 6.0
|
2 |
|
|
Note, that the component Builder in Quartus 6.0 will not accept include files, so you have to use Quartus to generate a
|
3 |
|
|
single .vqm file, rename this as a .v file, and then import this using component Builder.
|
4 |
|
|
USBHostSlave has been tested in a SystemC simulation, and on a Altera Nios development kit Cyclone edition.
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
Release notes:
|
8 |
|
|
// Version 0.6 - Feb 4th 2005. Fixed bit stuffing and de-stuffing. This version succesfully supports
|
9 |
|
|
// control reads and writes to USB flash dongle
|
10 |
|
|
// Version 0.7 - Feb 24th 2005. Added support for isochronous transfers, fixed resume, connect and disconnect
|
11 |
|
|
// time outs, added low speed EOP keep alive. The TX bit rate is now controlled by
|
12 |
|
|
// SIETransmitter, and takes account of the requirement that SOF, and PREAMBLE are always full
|
13 |
|
|
// speed, and TX resume is always low speed.
|
14 |
|
|
// Fixed read clock recovery (readUSBWireData.v) issue which was resulting
|
15 |
|
|
// in missing receive packets.
|
16 |
|
|
// Fixed broken SOF Sync mode (where transacations are synchronized with the SOF transmission)
|
17 |
|
|
// by adding kludged delay to softranmit. This needs to be fixed properly.
|
18 |
|
|
// This version has undergone limited testing
|
19 |
|
|
// with full speed flash dongle, low speed keyboard, and a PC in full and low speed modes.
|
20 |
|
|
// Version 0.8 - June 24th 2005. Added bus access to the host SOFTimer. This version has been tested
|
21 |
|
|
// with uClinux, and is known to work with a full speed USB flash stick.
|
22 |
|
|
// Moving Opencores project status from Beta to done.
|
23 |
|
|
// Version 1.0 - October 14th 2005. Seperated the bus clock from the usb logic clock
|
24 |
|
|
// Modified RX and TX fifo status registers, and removed TX fifo data count
|
25 |
|
|
// register. Added RESET_CORE bit to HOST_SLAVE_CONTROL_REG.
|
26 |
|
|
// Fixed slave mode bug which caused receive fifo to
|
27 |
|
|
// be filled with incoming data when the slave was
|
28 |
|
|
// responding with a NAK, and the data should have been discarded.
|
29 |
|
|
// TODO: Test isochronous mode, and low speed mode using uClinux driver
|
30 |
|
|
// Add frame period adjustment capability
|
31 |
|
|
// Add compilation flags for slave only and host only versions
|
32 |
|
|
// Create data bus width options beyond 8-bit
|
33 |
|
|
// Version 1.1 - February 23rd 2006. Fixed bug related to 'noActivityTimeOut'
|
34 |
|
|
// Previously the 'noActivityTimeOut' flag was repetitively pulsed whenever
|
35 |
|
|
// there was no detected activity on the USB data lines. This caused an infrequent
|
36 |
|
|
// misreporting of time out errors. 'noActivityTimeOut' is now only enabled when
|
37 |
|
|
// the higher level state machines are actively looking for receive packets.
|
38 |
|
|
// Modified USB RX data clock recovery, so that data is sampled during the middle
|
39 |
|
|
// of a USB bit period. Fixed a bug which could result in double sampling
|
40 |
|
|
// of USB RX data if clock phase adjustments were required in the middle of a
|
41 |
|
|
// USB packet.
|
42 |
|
|
// Version 1.2 - October 1st 2006. Small changes to .asf FSM's required
|
43 |
|
|
// during migration to ActiveHDL 7.1. Released SystemC test bench.
|
44 |
|
|
// Re-generated .v files using ActiveHDL 7.1
|
45 |
|
|
// Replaced individual timescale directives with `include "timescale.v
|
46 |
|
|
// Renamed top level Altera wrapper from 'usbHostSlaveWrap' to
|
47 |
|
|
// 'usbHostSlaveAvalonWrap'
|
48 |
37 |
sfielding |
// Version 1.3 - March 22nd 2008. Fixed bug in 'readUSBWireData'. Added
|
49 |
|
|
// synchronizer to incoming USB wire data to avoid
|
50 |
|
|
// metastability, and delay hazards. Not entirely sure, but it appears that
|
51 |
|
|
// this bug caused more problems with some of the newer low power FPGAs
|
52 |
|
|
// Maybe because they are more prone to problems with metastable
|
53 |
|
|
// inputs that feed logic functions causing excessive high speed
|
54 |
|
|
// toggle activity, and disrupting nearby cicuits.
|
55 |
|
|
// Version 2.0 - June 16th 2008. Added two new top level modules which
|
56 |
|
|
// allow the instantiation of only host (usbHost.v), or only device
|
57 |
|
|
// features. Added double sync stages between usbClk, and busClk domains
|
58 |
|
|
// to fix possible metastability issues. Also modified synchronization to
|
59 |
|
|
// allow operation with busClk frequency less than usbClk frequency (down to
|
60 |
|
|
// 24MHz). Integrated full support for USB PHY. Prior to this modification
|
61 |
|
|
// the user would need to instantiate a GPIO module to control USB speed,
|
62 |
|
|
// D+ and D- pull-up control, and VBUS detect. Fixed bug in bus interface wb_ack.
|
63 |
|
|
// Modified cross-clock synchronisation of fifo resets
|
64 |
|
|
// Added usbDevice, a standalone usb device implementation of usbhostslave
|
65 |
|
|
// no additional hardware or software required
|
66 |
22 |
sfielding |
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|