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

Subversion Repositories robust_axi2apb

[/] [robust_axi2apb/] [trunk/] [src/] [base/] [def_axi2apb_static.txt] - Blame information for rev 10

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

Line No. Rev Author Line
1 4 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 2 eyalhoc
 
30 10 eyalhoc
SWAP.GLOBAL  MODEL_NAME  AXI2APB bridge
31 8 eyalhoc
 
32 2 eyalhoc
SWAP      SLV_BITS    LOG2(EXPR(SLAVE_NUM+1)) ##one more for decerr slave
33
 
34
LOOP      SX          SLAVE_NUM
35
 
36
GROUP APB3 is {
37
    psel     1                      output
38
    penable  1                      output
39
    pwrite   1                      output
40
    paddr    ADDR_BITS              output
41
    pwdata   32                     output
42
    prdata   32                     input
43
    pslverr  1                      input
44
    pready   1                      input
45
}
46
 
47
GROUP APB_AXI_A is {
48
    ID       ID_BITS                input
49
    ADDR     ADDR_BITS              input
50
    LEN      4                      input
51
    SIZE     2                      input
52
    VALID    1                      input
53
    READY    1                      output
54
}
55
 
56
GROUP APB_AXI_W is {
57
    ID        ID_BITS                input
58
    DATA      32                     input
59
    STRB      4                      input
60
    LAST      1                      input
61
    VALID     1                      input
62
    READY     1                      output
63
}
64
 
65
GROUP APB_AXI_B is {
66
    ID        ID_BITS                output
67
    RESP      2                      output
68
    VALID     1                      output
69
    READY     1                      input
70
}
71
 
72
GROUP APB_AXI_R is {
73
    ID        ID_BITS                output
74
    DATA      32                     output
75
    RESP      2                      output
76
    LAST      1                      output
77
    VALID     1                      output
78
    READY     1                      input
79
}
80
 
81
GROUP APB_AXI joins {
82
    GROUP APB_AXI_A prefix_AW
83
    GROUP APB_AXI_W prefix_W
84
    GROUP APB_AXI_B prefix_B
85
    GROUP APB_AXI_A prefix_AR
86
    GROUP APB_AXI_R prefix_R
87
}

powered by: WebSVN 2.1.0

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