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 12

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 7 eyalhoc
 
30 9 eyalhoc
SWAP.GLOBAL MODEL_NAME AXI slave stub
31 7 eyalhoc
 
32 12 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
VERIFY (ADDR_BITS <= 24) ##Memory size should not be too big to prevent maloc fail
35 7 eyalhoc
 
36
GROUP STUB_AXI_A is {
37
    ID       ID_BITS                output
38
    ADDR     ADDR_BITS              output
39
    LEN      LEN_BITS               output
40
    SIZE     SIZE_BITS              output
41
    BURST    2                      output
42
    CACHE    4                      output
43
    PROT     3                      output
44
    LOCK     2                      output
45
    VALID    1                      output
46
    READY    1                      input
47
}
48
 
49
GROUP STUB_AXI_W is {
50
    ID        ID_BITS                output
51
    DATA      DATA_BITS              output
52
    STRB      DATA_BITS/8            output
53
    LAST      1                      output
54
    VALID     1                      output
55
    READY     1                      input
56
}
57
 
58
GROUP STUB_AXI_B is {
59
    ID        ID_BITS                input
60
    RESP      2                      input
61
    VALID     1                      input
62
    READY     1                      output
63
}
64
 
65
GROUP STUB_AXI_R is {
66
    ID        ID_BITS                input
67
    DATA      DATA_BITS              input
68
    RESP      2                      input
69
    LAST      1                      input
70
    VALID     1                      input
71
    READY     1                      output
72
}
73
 
74
GROUP STUB_AXI joins {
75
    GROUP STUB_AXI_A prefix_AW
76
    GROUP STUB_AXI_W prefix_W
77
    GROUP STUB_AXI_B prefix_B
78
    GROUP STUB_AXI_A prefix_AR
79
    GROUP STUB_AXI_R prefix_R
80
}
81
 
82
GROUP STUB_MEM is {
83
    WR        1            output
84
    RD        1            output
85
    ADDR_WR   ADDR_BITS    output
86
    ADDR_RD   ADDR_BITS    output
87
    DIN       DATA_BITS    output
88
    BSEL      DATA_BITS/8  output
89
    DOUT      DATA_BITS    input
90
}
91 2 eyalhoc
 

powered by: WebSVN 2.1.0

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