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

Subversion Repositories robust_axi2apb

[/] [robust_axi2apb/] [trunk/] [src/] [base/] [axi2apb.v] - Diff between revs 6 and 8

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 6 Rev 8
Line 26... Line 26...
//// details. http://www.gnu.org/licenses/lgpl.html              ////
//// details. http://www.gnu.org/licenses/lgpl.html              ////
////                                                             ////
////                                                             ////
//////////////////////////////////////////////////////////////////##>
//////////////////////////////////////////////////////////////////##>
 
 
INCLUDE def_axi2apb.txt
INCLUDE def_axi2apb.txt
  OUTFILE PREFIX_axi2apb.v
  OUTFILE PREFIX.v
 
 
    ITER SX
    ITER SX
      module  PREFIX_axi2apb (PORTS);
      module  PREFIX (PORTS);
 
 
   input              clk;
   input              clk;
   input              reset;
   input              reset;
 
 
   port               GROUP_APB_AXI;
   port               GROUP_APB_AXI;
Line 71... Line 71...
   assign                 paddr  = cmd_addr;
   assign                 paddr  = cmd_addr;
   assign                 pwdata = WDATA;
   assign                 pwdata = WDATA;
 
 
 
 
   CREATE axi2apb_cmd.v
   CREATE axi2apb_cmd.v
     PREFIX_axi2apb_cmd PREFIX_axi2apb_cmd(
     PREFIX_cmd PREFIX_cmd(
                                           .clk(clk),
                                           .clk(clk),
                                           .reset(reset),
                                           .reset(reset),
                                           .AWGROUP_APB_AXI_A(AWGROUP_APB_AXI_A),
                                           .AWGROUP_APB_AXI_A(AWGROUP_APB_AXI_A),
                                           .ARGROUP_APB_AXI_A(ARGROUP_APB_AXI_A),
                                           .ARGROUP_APB_AXI_A(ARGROUP_APB_AXI_A),
                                           .finish_wr(finish_wr),
                                           .finish_wr(finish_wr),
Line 87... Line 87...
                                           .cmd_err(cmd_err)
                                           .cmd_err(cmd_err)
                                           );
                                           );
 
 
 
 
   CREATE axi2apb_rd.v
   CREATE axi2apb_rd.v
     PREFIX_axi2apb_rd PREFIX_axi2apb_rd(
     PREFIX_rd PREFIX_rd(
                                         .clk(clk),
                                         .clk(clk),
                                         .reset(reset),
                                         .reset(reset),
                                         .GROUP_APB3(GROUP_APB3),
                                         .GROUP_APB3(GROUP_APB3),
                                         .cmd_err(cmd_err),
                                         .cmd_err(cmd_err),
                                         .cmd_id(cmd_id),
                                         .cmd_id(cmd_id),
Line 99... Line 99...
                                         .RGROUP_APB_AXI_R(RGROUP_APB_AXI_R),
                                         .RGROUP_APB_AXI_R(RGROUP_APB_AXI_R),
                                         STOMP ,
                                         STOMP ,
                                         );
                                         );
 
 
   CREATE axi2apb_wr.v
   CREATE axi2apb_wr.v
     PREFIX_axi2apb_wr PREFIX_axi2apb_wr(
     PREFIX_wr PREFIX_wr(
                                         .clk(clk),
                                         .clk(clk),
                                         .reset(reset),
                                         .reset(reset),
                                         .GROUP_APB3(GROUP_APB3),
                                         .GROUP_APB3(GROUP_APB3),
                                         .cmd_err(cmd_err),
                                         .cmd_err(cmd_err),
                                         .cmd_id(cmd_id),
                                         .cmd_id(cmd_id),
Line 114... Line 114...
                                         );
                                         );
 
 
 
 
 
 
   CREATE axi2apb_ctrl.v
   CREATE axi2apb_ctrl.v
     PREFIX_axi2apb_ctrl PREFIX_axi2apb_ctrl(
     PREFIX_ctrl PREFIX_ctrl(
                                             .clk(clk),
                                             .clk(clk),
                                             .reset(reset),
                                             .reset(reset),
                                             .finish_wr(finish_wr),
                                             .finish_wr(finish_wr),
                                             .finish_rd(finish_rd),
                                             .finish_rd(finish_rd),
                                             .cmd_empty(cmd_empty),
                                             .cmd_empty(cmd_empty),
Line 131... Line 131...
                                             );
                                             );
 
 
 
 
IFDEF TRUE(SLAVE_NUM>1)
IFDEF TRUE(SLAVE_NUM>1)
   CREATE axi2apb_mux.v
   CREATE axi2apb_mux.v
     PREFIX_axi2apb_mux PREFIX_axi2apb_mux(
     PREFIX_mux PREFIX_mux(
                                           .clk(clk),
                                           .clk(clk),
                                           .reset(reset),
                                           .reset(reset),
                                           .cmd_addr(cmd_addr),
                                           .cmd_addr(cmd_addr),
                                           .psel(psel),
                                           .psel(psel),
                                           .prdata(prdata),
                                           .prdata(prdata),

powered by: WebSVN 2.1.0

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