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

Subversion Repositories axi_slave

[/] [axi_slave/] [trunk/] [src/] [base/] [axi_slave.v] - Rev 11

Go to most recent revision | Compare with Previous | Blame | View Log

/////////////////////////////////////////////////////////////////////
////                                                             ////
////  Author: Eyal Hochberg                                      ////
////          eyal@provartec.com                                 ////
////                                                             ////
////  Downloaded from: http://www.opencores.org                  ////
/////////////////////////////////////////////////////////////////////
////                                                             ////
//// Copyright (C) 2010 Provartec LTD                            ////
//// www.provartec.com                                           ////
//// info@provartec.com                                          ////
////                                                             ////
//// This source file may be used and distributed without        ////
//// restriction provided that this copyright statement is not   ////
//// removed from the file and that any derivative work contains ////
//// the original copyright notice and the associated disclaimer.////
////                                                             ////
//// This source file is free software; you can redistribute it  ////
//// and/or modify it under the terms of the GNU Lesser General  ////
//// Public License as published by the Free Software Foundation.////
////                                                             ////
//// This source is distributed in the hope that it will be      ////
//// useful, but WITHOUT ANY WARRANTY; without even the implied  ////
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR     ////
//// PURPOSE.  See the GNU Lesser General Public License for more////
//// details. http://www.gnu.org/licenses/lgpl.html              ////
////                                                             ////
/////////////////////////////////////////////////////////////////////
 
OUTFILE PREFIX.v
 
INCLUDE def_axi_slave.txt
 
module PREFIX(PORTS);
 
   parameter                  SLAVE_NUM = 0;
 
   input 		      clk;
   input 		      reset;
 
   revport                    GROUP_STUB_AXI;
 
 
 
   wire                       GROUP_STUB_MEM;
 
 
 
   CREATE axi_slave_ram.v
     PREFIX_ram PREFIX_ram(
			   .clk(clk),
			   .reset(reset),
                           .GROUP_STUB_AXI(GROUP_STUB_AXI),
                           .GROUP_STUB_MEM(GROUP_STUB_MEM),
                           STOMP ,
                           );
 
 
   CREATE axi_slave_mem.v
   PREFIX_mem PREFIX_mem(
			 .clk(clk),
			 .reset(reset),
                         .GROUP_STUB_MEM(GROUP_STUB_MEM),
                         STOMP ,
			 );
 
 
 
   IFDEF TRACE
     CREATE axi_slave_trace.v
       PREFIX_trace #(SLAVE_NUM)
         PREFIX_trace(
		      .clk(clk),
		      .reset(reset),
                      .GROUP_STUB_MEM(GROUP_STUB_MEM),
                      STOMP ,
		      );
 
   ENDIF TRACE
 
endmodule
 
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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