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

Subversion Repositories usbhostslave

[/] [usbhostslave/] [trunk/] [RTL/] [include/] [wishBoneBus_h.v] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 sfielding
//////////////////////////////////////////////////////////////////////
2
////                                                              ////
3
//// wishBoneBus_h.v                                              ////
4
////                                                              ////
5
//// This file is part of the usbhostslave opencores effort.
6
//// <http://www.opencores.org/cores//>                           ////
7
////                                                              ////
8
//// Module Description:                                          ////
9
//// 
10
////                                                              ////
11
//// To Do:                                                       ////
12
//// 
13
////                                                              ////
14
//// Author(s):                                                   ////
15
//// - Steve Fielding, sfielding@base2designs.com                 ////
16
////                                                              ////
17
//////////////////////////////////////////////////////////////////////
18
////                                                              ////
19
//// Copyright (C) 2004 Steve Fielding and OPENCORES.ORG          ////
20
////                                                              ////
21
//// This source file may be used and distributed without         ////
22
//// restriction provided that this copyright statement is not    ////
23
//// removed from the file and that any derivative work contains  ////
24
//// the original copyright notice and the associated disclaimer. ////
25
////                                                              ////
26
//// This source file is free software; you can redistribute it   ////
27
//// and/or modify it under the terms of the GNU Lesser General   ////
28
//// Public License as published by the Free Software Foundation; ////
29
//// either version 2.1 of the License, or (at your option) any   ////
30
//// later version.                                               ////
31
////                                                              ////
32
//// This source is distributed in the hope that it will be       ////
33
//// useful, but WITHOUT ANY WARRANTY; without even the implied   ////
34
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      ////
35
//// PURPOSE. See the GNU Lesser General Public License for more  ////
36
//// details.                                                     ////
37
////                                                              ////
38
//// You should have received a copy of the GNU Lesser General    ////
39
//// Public License along with this source; if not, download it   ////
40
//// from <http://www.opencores.org/lgpl.shtml>                   ////
41
////                                                              ////
42
//////////////////////////////////////////////////////////////////////
43
//
44
// $Id: wishBoneBus_h.v,v 1.1.1.1 2004-10-11 04:00:57 sfielding Exp $
45
//
46
// CVS Revision History
47
//
48
// $Log: not supported by cvs2svn $
49
//
50
 
51
 
52
//memoryMap
53
`define HCREG_BASE 8'h00
54
`define HCREG_BASE_PLUS_0X10 8'h10
55
`define HOST_RX_FIFO_BASE 8'h20
56
`define HOST_TX_FIFO_BASE 8'h30
57
`define SCREG_BASE 8'h40
58
`define SCREG_BASE_PLUS_0X10 8'h50
59
`define EP0_RX_FIFO_BASE 8'h60
60
`define EP0_TX_FIFO_BASE 8'h70
61
`define EP1_RX_FIFO_BASE 8'h80
62
`define EP1_TX_FIFO_BASE 8'h90
63
`define EP2_RX_FIFO_BASE 8'ha0
64
`define EP2_TX_FIFO_BASE 8'hb0
65
`define EP3_RX_FIFO_BASE 8'hc0
66
`define EP3_TX_FIFO_BASE 8'hd0
67
`define HOST_SLAVE_CONTROL_BASE 8'he0
68
`define ADDRESS_DECODE_MASK 8'hf0
69
 
70
//FifoAddresses
71
`define FIFO_DATA_REG 3'b000
72
`define FIFO_STATUS_REG 3'b001
73
`define FIFO_DATA_COUNT_MSB 3'b010
74
`define FIFO_DATA_COUNT_LSB 3'b011
75
`define FIFO_CONTROL_REG 3'b100
76
 
77
 
78
 

powered by: WebSVN 2.1.0

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