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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [rtl/] [verilog/] [include/] [usbhostslave_constants_h.v] - Blame information for rev 408

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 408 julius
//////////////////////////////////////////////////////////////////////
2
//// usbConstants_h.v                                             
3
///////////////////////////////////////////////////////////////////////
4
 
5
`ifdef usbConstants_h_vdefined
6
`else
7
`define usbConstants_h_vdefined
8
 
9
//PIDTypes
10
`define OUT 4'h1
11
`define IN 4'h9
12
`define SOF 4'h5
13
`define SETUP 4'hd
14
`define DATA0 4'h3
15
`define DATA1 4'hb
16
`define ACK 4'h2
17
`define NAK 4'ha
18
`define STALL 4'he
19
`define PREAMBLE 4'hc
20
 
21
 
22
//PIDGroups
23
`define SPECIAL 2'b00
24
`define TOKEN 2'b01
25
`define HANDSHAKE 2'b10
26
`define DATA 2'b11
27
 
28
// start of packet SyncByte
29
`define SYNC_BYTE 8'h80
30
 
31
`endif //usbConstants_h_vdefined       
32
 

powered by: WebSVN 2.1.0

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