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

Subversion Repositories apb_mstr

[/] [apb_mstr/] [trunk/] [src/] [base/] [def_axi2apb.txt] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 eyalhoc
<##//////////////////////////////////////////////////////////////////
2
////                                                             ////
3
////  Author: Eyal Hochberg                                      ////
4
////          eyal@provartec.com                                 ////
5
////                                                             ////
6
////  Downloaded from: http://www.opencores.org                  ////
7
/////////////////////////////////////////////////////////////////////
8
////                                                             ////
9
//// Copyright (C) 2010 Provartec LTD                            ////
10
//// www.provartec.com                                           ////
11
//// info@provartec.com                                          ////
12
////                                                             ////
13
//// This source file may be used and distributed without        ////
14
//// restriction provided that this copyright statement is not   ////
15
//// removed from the file and that any derivative work contains ////
16
//// the original copyright notice and the associated disclaimer.////
17
////                                                             ////
18
//// This source file is free software; you can redistribute it  ////
19
//// and/or modify it under the terms of the GNU Lesser General  ////
20
//// Public License as published by the Free Software Foundation.////
21
////                                                             ////
22
//// This source is distributed in the hope that it will be      ////
23
//// useful, but WITHOUT ANY WARRANTY; without even the implied  ////
24
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR     ////
25
//// PURPOSE.  See the GNU Lesser General Public License for more////
26
//// details. http://www.gnu.org/licenses/lgpl.html              ////
27
////                                                             ////
28
//////////////////////////////////////////////////////////////////##>
29
 
30 12 eyalhoc
REQUIRE(1.5)
31 8 eyalhoc
 
32 2 eyalhoc
INCLUDE   def_axi2apb_static.txt
33
 
34 11 eyalhoc
STARTUSER
35
 
36 12 eyalhoc
SWAP.GLOBAL    #FFD        #1              ## flip-flop delay
37 2 eyalhoc
 
38 8 eyalhoc
SWAP.USER      PREFIX      axi2apb         ## Prefix for all modules and file names
39 2 eyalhoc
 
40 8 eyalhoc
SWAP.USER      CMD_DEPTH   2               ## Number of AXI command FIFO
41 2 eyalhoc
 
42 5 eyalhoc
SWAP.USER      ADDR_BITS   24              ## AXI and APB address bits
43
SWAP.USER      ID_BITS     4               ## AXI ID bits
44
SWAP.USER      DEC_BITS    8               ## Address MSBits for slave decoding
45 2 eyalhoc
 
46 12 eyalhoc
SWAP.USER.TRUE(SLAVE_NUM>0) DEC_ADDR0 'h00 ## Slave 0 address decoding
47
SWAP.USER.TRUE(SLAVE_NUM>1) DEC_ADDR1 'h01 ## Slave 1 address decoding
48
SWAP.USER.TRUE(SLAVE_NUM>2) DEC_ADDR2 'h02 ## Slave 2 address decoding
49
SWAP.USER.TRUE(SLAVE_NUM>3) DEC_ADDR3 'h03 ## Slave 3 address decoding
50
SWAP.USER.TRUE(SLAVE_NUM>4) DEC_ADDR4 'h10 ## Slave 4 address decoding
51
SWAP.USER.TRUE(SLAVE_NUM>5) DEC_ADDR5 'h11 ## Slave 5 address decoding
52
SWAP.USER.TRUE(SLAVE_NUM>6) DEC_ADDR6 'h12 ## Slave 6 address decoding
53
SWAP.USER.TRUE(SLAVE_NUM>7) DEC_ADDR7 'h13 ## Slave 7 address decoding
54
 
55
SWAP.USER      SLAVE_NUM   6               ## Number of APB slaves

powered by: WebSVN 2.1.0

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