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 2

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
VERIFY (DATA_BITS <= 64) else stub supports 32 or 64 bits data bus
31
VERIFY (SIZE_BITS <= 3) else stub supports 32 or 64 bits data bus
32
VERIFY (ADDR_BITS<=24) else Memory size should not be too big to prevent maloc fail
33
 
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 STUB_MEM is {
81
    WR        1            output
82
    RD        1            output
83
    ADDR_WR   ADDR_BITS    output
84
    ADDR_RD   ADDR_BITS    output
85
    DIN       DATA_BITS    output
86
    BSEL      DATA_BITS/8  output
87
    DOUT      DATA_BITS    input
88
}
89
 

powered by: WebSVN 2.1.0

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