URL
https://opencores.org/ocsvn/usb_device_core/usb_device_core/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
5 |
ultra_embe |
//-----------------------------------------------------------------
|
2 |
|
|
// USB Device Core
|
3 |
|
|
// V1.0
|
4 |
|
|
// Ultra-Embedded.com
|
5 |
|
|
// Copyright 2014-2019
|
6 |
|
|
//
|
7 |
|
|
// Email: admin@ultra-embedded.com
|
8 |
|
|
//
|
9 |
|
|
// License: GPL
|
10 |
|
|
// If you would like a version with a more permissive license for
|
11 |
|
|
// use in closed source commercial applications please contact me
|
12 |
|
|
// for details.
|
13 |
|
|
//-----------------------------------------------------------------
|
14 |
|
|
//
|
15 |
|
|
// This file is open source HDL; you can redistribute it and/or
|
16 |
|
|
// modify it under the terms of the GNU General Public License as
|
17 |
|
|
// published by the Free Software Foundation; either version 2 of
|
18 |
|
|
// the License, or (at your option) any later version.
|
19 |
|
|
//
|
20 |
|
|
// This file is distributed in the hope that it will be useful,
|
21 |
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
22 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
23 |
|
|
// GNU General Public License for more details.
|
24 |
|
|
//
|
25 |
|
|
// You should have received a copy of the GNU General Public
|
26 |
|
|
// License along with this file; if not, write to the Free Software
|
27 |
|
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
28 |
|
|
// USA
|
29 |
|
|
//-----------------------------------------------------------------
|
30 |
|
|
|
31 |
|
|
//-----------------------------------------------------------------
|
32 |
|
|
// Generated File
|
33 |
|
|
//-----------------------------------------------------------------
|
34 |
|
|
//-----------------------------------------------------------------
|
35 |
|
|
// Definitions
|
36 |
|
|
//-----------------------------------------------------------------
|
37 |
|
|
|
38 |
|
|
// Tokens
|
39 |
|
|
`define PID_OUT 8'hE1
|
40 |
|
|
`define PID_IN 8'h69
|
41 |
|
|
`define PID_SOF 8'hA5
|
42 |
|
|
`define PID_SETUP 8'h2D
|
43 |
|
|
|
44 |
|
|
// Data
|
45 |
|
|
`define PID_DATA0 8'hC3
|
46 |
|
|
`define PID_DATA1 8'h4B
|
47 |
|
|
`define PID_DATA2 8'h87
|
48 |
|
|
`define PID_MDATA 8'h0F
|
49 |
|
|
|
50 |
|
|
// Handshake
|
51 |
|
|
`define PID_ACK 8'hD2
|
52 |
|
|
`define PID_NAK 8'h5A
|
53 |
|
|
`define PID_STALL 8'h1E
|
54 |
|
|
`define PID_NYET 8'h96
|
55 |
|
|
|
56 |
|
|
// Special
|
57 |
|
|
`define PID_PRE 8'h3C
|
58 |
|
|
`define PID_ERR 8'h3C
|
59 |
|
|
`define PID_SPLIT 8'h78
|
60 |
|
|
`define PID_PING 8'hB4
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.