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 7

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

powered by: WebSVN 2.1.0

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