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

Subversion Repositories ahb_master

[/] [ahb_master/] [trunk/] [src/] [base/] [def_axi_master_static.txt] - Blame information for rev 13

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

powered by: WebSVN 2.1.0

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