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 22

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

powered by: WebSVN 2.1.0

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