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 13

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

powered by: WebSVN 2.1.0

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