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

Subversion Repositories axi_slave

[/] [axi_slave/] [trunk/] [src/] [base/] [axi_slave.v] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 eyalhoc
<##//////////////////////////////////////////////////////////////////
2 2 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 13 eyalhoc
//////////////////////////////////////////////////////////////////##>
29 4 eyalhoc
 
30
OUTFILE PREFIX.v
31
 
32
INCLUDE def_axi_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_AXI;
42
 
43
 
44
 
45
   wire                       GROUP_STUB_MEM;
46
 
47
 
48
 
49
   CREATE axi_slave_ram.v
50
     PREFIX_ram PREFIX_ram(
51
                           .clk(clk),
52
                           .reset(reset),
53
                           .GROUP_STUB_AXI(GROUP_STUB_AXI),
54
                           .GROUP_STUB_MEM(GROUP_STUB_MEM),
55
                           STOMP ,
56
                           );
57
 
58
 
59
   CREATE axi_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 axi_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.