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

Subversion Repositories apb_mstr

[/] [apb_mstr/] [trunk/] [src/] [base/] [apb_master.v] - Diff between revs 11 and 12

Show entire file | Details | Blame | View Log

Rev 11 Rev 12
Line 1... Line 1...
/////////////////////////////////////////////////////////////////////
<##//////////////////////////////////////////////////////////////////
////                                                             ////
////                                                             ////
////  Author: Eyal Hochberg                                      ////
////  Author: Eyal Hochberg                                      ////
////          eyal@provartec.com                                 ////
////          eyal@provartec.com                                 ////
////                                                             ////
////                                                             ////
////  Downloaded from: http://www.opencores.org                  ////
////  Downloaded from: http://www.opencores.org                  ////
Line 23... Line 23...
//// useful, but WITHOUT ANY WARRANTY; without even the implied  ////
//// useful, but WITHOUT ANY WARRANTY; without even the implied  ////
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR     ////
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR     ////
//// PURPOSE.  See the GNU Lesser General Public License for more////
//// PURPOSE.  See the GNU Lesser General Public License for more////
//// details. http://www.gnu.org/licenses/lgpl.html              ////
//// details. http://www.gnu.org/licenses/lgpl.html              ////
////                                                             ////
////                                                             ////
/////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////##>
 
 
//////////////////////////////////////
//////////////////////////////////////
//
//
// General:
// General:
//   The APB master is built of an AXI master and an AXI2APB bridge. 
//   The APB master is built of an AXI master and an AXI2APB bridge. 
Line 104... Line 104...
        PREFIX_axi_master.size_min=2;
        PREFIX_axi_master.size_min=2;
        PREFIX_axi_master.size_max=2;
        PREFIX_axi_master.size_max=2;
     end
     end
 
 
 
 
   CREATE axi_master.v DEFCMD(SWAP.GLOBAL CONST(PREFIX) PREFIX_axi_master)
   CREATE axi_master.v \\
 
DEFCMD(SWAP.GLOBAL CONST(PREFIX) PREFIX_axi_master) \\
 
DEFCMD(SWAP.GLOBAL CONST(ADDR_BITS) ADDR_BITS) \\
 
DEFCMD(SWAP.GLOBAL CONST(DATA_BITS) DATA_BITS) \\
 
   DEFCMD(GROUP.USER AXI_ID overrides {)  \\
 
   DEFCMD(0) \\
 
   DEFCMD(})
 
 
     PREFIX_axi_master PREFIX_axi_master(
     PREFIX_axi_master PREFIX_axi_master(
                           .clk(clk),
                           .clk(clk),
                           .reset(reset),
                           .reset(reset),
                           .GROUP_STUB_AXI(GROUP_STUB_AXI),
                           .GROUP_STUB_AXI(GROUP_STUB_AXI),
                           .idle()
                           .idle()
                           );
                           );
 
 
 
 
   CREATE axi2apb.v DEFCMD(SWAP CONST(SLAVE_NUM) 1) DEFCMD(SWAP.GLOBAL CONST(PREFIX) PREFIX_axi2apb)
   CREATE axi2apb.v \\
 
DEFCMD(SWAP CONST(SLAVE_NUM) 1) \\
 
DEFCMD(SWAP.GLOBAL CONST(PREFIX) PREFIX_axi2apb) \\
 
DEFCMD(SWAP.GLOBAL CONST(ADDR_BITS) ADDR_BITS) \\
 
DEFCMD(SWAP.GLOBAL CONST(DATA_BITS) DATA_BITS)
 
 
   PREFIX_axi2apb PREFIX_axi2apb(
   PREFIX_axi2apb PREFIX_axi2apb(
                           .clk(clk),
                           .clk(clk),
                           .reset(reset),
                           .reset(reset),
                           .GROUP_STUB_AXI(GROUP_STUB_AXI),
                           .GROUP_STUB_AXI(GROUP_STUB_AXI),

powered by: WebSVN 2.1.0

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