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

Subversion Repositories axi_master

[/] [axi_master/] [trunk/] [src/] [base/] [def_axi_master_static.txt] - Blame information for rev 21

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 15 eyalhoc
SWAP.GLOBAL MODEL_NAME AXI master stub
30 13 eyalhoc
 
31 19 eyalhoc
VERIFY (DATA_BITS in 32, 64) ##stub supports 32 or 64 bits data bus
32
VERIFY (SIZE_BITS in 2, 3) ##stub supports 32 or 64 bits data bus
33 6 eyalhoc
 
34
GROUP STUB_AXI_A is {
35
    ID       ID_BITS                output
36
    ADDR     ADDR_BITS              output
37
    LEN      LEN_BITS               output
38
    SIZE     SIZE_BITS              output
39
    BURST    2                      output
40
    CACHE    4                      output
41
    PROT     3                      output
42
    LOCK     2                      output
43
    VALID    1                      output
44
    READY    1                      input
45
}
46
 
47
GROUP STUB_AXI_W is {
48
    ID        ID_BITS                output
49
    DATA      DATA_BITS              output
50
    STRB      DATA_BITS/8            output
51
    LAST      1                      output
52
    VALID     1                      output
53
    READY     1                      input
54
}
55
 
56
GROUP STUB_AXI_B is {
57
    ID        ID_BITS                input
58
    RESP      2                      input
59
    VALID     1                      input
60
    READY     1                      output
61
}
62
 
63
GROUP STUB_AXI_R is {
64
    ID        ID_BITS                input
65
    DATA      DATA_BITS              input
66
    RESP      2                      input
67
    LAST      1                      input
68
    VALID     1                      input
69
    READY     1                      output
70
}
71
 
72
GROUP STUB_AXI joins {
73
    GROUP STUB_AXI_A prefix_AW
74
    GROUP STUB_AXI_W prefix_W
75
    GROUP STUB_AXI_B prefix_B
76
    GROUP STUB_AXI_A prefix_AR
77
    GROUP STUB_AXI_R prefix_R
78
}
79
 
80
GROUP AXI_MASTER_RAND is {
81 10 eyalhoc
   ahb_bursts   SON(DEFAULT 0)
82 6 eyalhoc
   use_addr_base   SON(DEFAULT 0)
83
   len_min     SON(DEFAULT 0)
84
   len_max     SON(DEFAULT 15)
85
   size_min    SON(DEFAULT 0)
86
   size_max    SON(DEFAULT 3)
87
   addr_min    SON(DEFAULT 0)
88
   addr_max    SON(DEFAULT {DATA_BITS{1'b1}})
89
}
90 14 eyalhoc
 
91
SWAP ID_NUM GROUP_AXI_ID.NUM
92
 
93 2 eyalhoc
 

powered by: WebSVN 2.1.0

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