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

Subversion Repositories apb_slave

[/] [apb_slave/] [trunk/] [src/] [base/] [def_apb_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 (ADDR_BITS<=24) else Memory size should not be too big to prevent maloc fail
31
 
32
SWAP DATA_BITS 32  ##APB is always 32 bits data
33
 
34
 
35
GROUP STUB_APB is {
36
    psel     1                      output
37
    penable  1                      output
38
    pwrite   1                      output
39
    paddr    ADDR_BITS              output
40
    pwdata   DATA_BITS              output
41
    prdata   DATA_BITS              input
42
IFDEF APB3
43
    pslverr  1                      input
44
    pready   1                      input
45
ENDIF APB3
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.