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

Subversion Repositories robust_axi_fabric

[/] [robust_axi_fabric/] [trunk/] [src/] [base/] [def_ic_static.txt] - Blame information for rev 20

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

Line No. Rev Author Line
1 7 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 18 eyalhoc
 
30 17 eyalhoc
SWAP.GLOBAL MODEL_NAME AXI interconnect fabric
31 15 eyalhoc
 
32 2 eyalhoc
SWAP MSTRS MASTER_NUM
33 9 eyalhoc
SWAP SLVS EXPR(SLAVE_NUM+DVAL(DEF_DECERR_SLV))
34 2 eyalhoc
 
35
LOOP MX MSTRS
36
LOOP SX SLVS
37
 
38
SWAP MSTR_BITS LOG2(MSTRS)
39
SWAP SLV_BITS  LOG2(SLVS)
40
 
41 9 eyalhoc
SWAP SERR EXPR(SLVS-1)
42 2 eyalhoc
 
43 19 eyalhoc
IFDEF UNIQUE_ID
44
SWAP ID_BITS  MSTR_ID_BITS
45
SWAP ADD_ID   NULL
46
ELSE UNIQUE_ID
47
SWAP ID_BITS  EXPR(MSTR_ID_BITS+EXTRA_BITS)
48
SWAP ADD_ID   BIN(MX MSTR_BITS NOPRE)_
49
ENDIF UNIQUE_ID
50
 
51 2 eyalhoc
GROUP IC_AXI_A is {
52 19 eyalhoc
    ID       ID_BITS                input  SON(CHANGE 1)
53 2 eyalhoc
    ADDR     ADDR_BITS              input
54
    LEN      4                      input
55
    SIZE     2                      input
56
    BURST    2                      input
57
    CACHE    4                      input
58
    PROT     3                      input
59
    LOCK     2                      input
60
    USER     USER_BITS              input
61
    VALID    1                      input
62
    READY    1                      output
63
}
64
 
65
GROUP IC_AXI_W is {
66 19 eyalhoc
    ID        ID_BITS                input  SON(CHANGE 1)
67 2 eyalhoc
    DATA      DATA_BITS              input
68
    STRB      DATA_BITS/8            input
69
    LAST      1                      input
70
    USER      USER_BITS              input
71
    VALID     1                      input
72
    READY     1                      output
73
}
74
 
75
GROUP IC_AXI_B is {
76 19 eyalhoc
    ID        ID_BITS                output  SON(CHANGE 1)
77 2 eyalhoc
    RESP      2                      output
78
    USER      USER_BITS              output
79
    VALID     1                      output
80
    READY     1                      input
81
}
82
 
83
GROUP IC_AXI_R is {
84 19 eyalhoc
    ID        ID_BITS                output  SON(CHANGE 1)
85 2 eyalhoc
    DATA      DATA_BITS              output
86
    RESP      2                      output
87
    LAST      1                      output
88
    USER      USER_BITS              output
89
    VALID     1                      output
90
    READY     1                      input
91
}
92
 
93
GROUP IC_AXI joins {
94
    GROUP IC_AXI_A prefix_AW
95
    GROUP IC_AXI_W prefix_W
96
    GROUP IC_AXI_B prefix_B
97
    GROUP IC_AXI_A prefix_AR
98
    GROUP IC_AXI_R prefix_R
99
}
100
 
101
GROUP IC_AXI_CMD is {
102
    SLV       SLV_BITS               input
103 19 eyalhoc
    ID        ID_BITS                input  SON(CHANGE 1)
104 2 eyalhoc
    VALID     1                      input
105
    READY     1                      input
106
}

powered by: WebSVN 2.1.0

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