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

Subversion Repositories axi_slave

[/] [axi_slave/] [trunk/] [src/] [base/] [def_axi_slave_static.txt] - Blame information for rev 13

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 9 eyalhoc
SWAP.GLOBAL MODEL_NAME AXI slave stub
30 7 eyalhoc
 
31 12 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 10 eyalhoc
VERIFY (ADDR_BITS <= 24) ##Memory size should not be too big to prevent maloc fail
34 7 eyalhoc
 
35
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
 
81
GROUP STUB_MEM is {
82
    WR        1            output
83
    RD        1            output
84
    ADDR_WR   ADDR_BITS    output
85
    ADDR_RD   ADDR_BITS    output
86
    DIN       DATA_BITS    output
87
    BSEL      DATA_BITS/8  output
88
    DOUT      DATA_BITS    input
89
}
90 2 eyalhoc
 

powered by: WebSVN 2.1.0

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