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

Subversion Repositories ahb_slave

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 11 eyalhoc
<##//////////////////////////////////////////////////////////////////
2 7 eyalhoc
////                                                             ////
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 11 eyalhoc
//////////////////////////////////////////////////////////////////##>
29 2 eyalhoc
 
30
OUTFILE PREFIX.v
31
 
32
INCLUDE def_ahb_slave.txt
33
 
34
module PREFIX(PORTS);
35
 
36
   parameter                  SLAVE_NUM = 0;
37
 
38
   input                      clk;
39
   input                      reset;
40
 
41
   revport                    GROUP_STUB_AHB;
42
 
43
 
44
 
45
   wire                       GROUP_STUB_MEM;
46
 
47
 
48
 
49
   CREATE ahb_slave_ram.v
50
     PREFIX_ram PREFIX_ram(
51
                           .clk(clk),
52
                           .reset(reset),
53
                           .GROUP_STUB_AHB(GROUP_STUB_AHB),
54
                           .GROUP_STUB_MEM(GROUP_STUB_MEM),
55
                           STOMP ,
56
                           );
57
 
58
 
59
   CREATE ahb_slave_mem.v
60
   PREFIX_mem PREFIX_mem(
61
                         .clk(clk),
62
                         .reset(reset),
63
                         .GROUP_STUB_MEM(GROUP_STUB_MEM),
64
                         STOMP ,
65
                         );
66
 
67
 
68
 
69
   IFDEF TRACE
70
     CREATE ahb_slave_trace.v
71
       PREFIX_trace #(SLAVE_NUM)
72
         PREFIX_trace(
73
                                 .clk(clk),
74
                                 .reset(reset),
75
                                 .GROUP_STUB_MEM(GROUP_STUB_MEM),
76
                                 STOMP ,
77
                                 );
78
 
79
   ENDIF TRACE
80
 
81
endmodule
82
 
83
 

powered by: WebSVN 2.1.0

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