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

Subversion Repositories ahb_slave

[/] [ahb_slave/] [trunk/] [src/] [base/] [def_ahb_slave_static.txt] - Blame information for rev 11

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 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 AHB slave stub
30
 
31 10 eyalhoc
VERIFY (DATA_BITS in 32, 64)  ##stub supports 32 or 64 bits data bus
32
VERIFY (ADDR_BITS in 16..24) ##Memory size should not be too big to prevent maloc fail
33 9 eyalhoc
 
34
GROUP STUB_AHB is {
35
  HADDR   ADDR_BITS   output
36
  HBURST  3           output
37
  HSIZE   2           output
38
  HTRANS  2           output
39
  HWRITE  1           output
40
  HWDATA  DATA_BITS   output
41
  HRDATA  DATA_BITS   input
42
  HREADY  1           input
43
  HRESP   1           input
44
}
45
 
46
 
47
GROUP STUB_MEM is {
48
    WR        1            output
49
    RD        1            output
50
    ADDR_WR   ADDR_BITS    output
51
    ADDR_RD   ADDR_BITS    output
52
    DIN       DATA_BITS    output
53
    BSEL      DATA_BITS/8  output
54
    DOUT      DATA_BITS    input
55
}
56 2 eyalhoc
 

powered by: WebSVN 2.1.0

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