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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [bench/] [verilog/] [usbhostslave/] [wishBoneBus_h.v] - Blame information for rev 854

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

Line No. Rev Author Line
1 408 julius
//////////////////////////////////////////////////////////////////////
2
// wishBoneBus_h.v                                              
3
//////////////////////////////////////////////////////////////////////
4
 
5
`ifdef wishBoneBus_h_vdefined
6
`else
7
`define wishBoneBus_h_vdefined
8
 
9
//memoryMap
10
`define HCREG_BASE 8'h00
11
`define HCREG_BASE_PLUS_0X10 8'h10
12
`define HOST_RX_FIFO_BASE 8'h20
13
`define HOST_TX_FIFO_BASE 8'h30
14
`define SCREG_BASE 8'h40
15
`define SCREG_BASE_PLUS_0X10 8'h50
16
`define EP0_RX_FIFO_BASE 8'h60
17
`define EP0_TX_FIFO_BASE 8'h70
18
`define EP1_RX_FIFO_BASE 8'h80
19
`define EP1_TX_FIFO_BASE 8'h90
20
`define EP2_RX_FIFO_BASE 8'ha0
21
`define EP2_TX_FIFO_BASE 8'hb0
22
`define EP3_RX_FIFO_BASE 8'hc0
23
`define EP3_TX_FIFO_BASE 8'hd0
24
`define HOST_SLAVE_CONTROL_BASE 8'he0
25
`define ADDRESS_DECODE_MASK 8'hf0
26
 
27
//FifoAddresses
28
`define FIFO_DATA_REG 3'b000
29
`define FIFO_STATUS_REG 3'b001
30
`define FIFO_DATA_COUNT_MSB 3'b010
31
`define FIFO_DATA_COUNT_LSB 3'b011
32
`define FIFO_CONTROL_REG 3'b100
33
 
34
`endif //wishBoneBus_h_vdefined
35
 

powered by: WebSVN 2.1.0

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