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

Subversion Repositories xulalx25soc

[/] [xulalx25soc/] [trunk/] [rtl/] [busmaster.v] - Diff between revs 113 and 117

Show entire file | Details | Blame | View Log

Rev 113 Rev 117
Line 87... Line 87...
// Position #2: The ICAP configuration scope, could also be the SDCard scope
// Position #2: The ICAP configuration scope, could also be the SDCard scope
// depending on how we configure ourselves here
// depending on how we configure ourselves here
//
//
`ifdef  XULA25
`ifdef  XULA25
`ifdef  FANCY_ICAP_ACCESS
`ifdef  FANCY_ICAP_ACCESS
`define CFG_SCOPE // Only defined if we have the access ...
// `define      CFG_SCOPE // Only defined if we have the access ...
`else
`else
`ifdef  SDCARD_ACCESS
`ifdef  SDCARD_ACCESS
`define SDCARD_SCOPE
// `define      SDCARD_SCOPE
`endif
`endif
`endif
`endif
`endif
`endif
//
//
// Position #3: The SDRAM scope / UART scope (never both)
// Position #3: The SDRAM scope / UART scope (never both)
Line 107... Line 107...
`ifdef  INCLUDE_ZIPCPU
`ifdef  INCLUDE_ZIPCPU
`ifdef  VERILATOR
`ifdef  VERILATOR
`define ZIP_SCOPE
`define ZIP_SCOPE
`else // VERILATOR
`else // VERILATOR
`ifdef  XULA25
`ifdef  XULA25
`define ZIP_SCOPE
// `define      ZIP_SCOPE
`endif // XULA25
`endif // XULA25
`endif // VERILATOR
`endif // VERILATOR
`endif // INCLUDE_ZIPCPU
`endif // INCLUDE_ZIPCPU
 
 
module  busmaster(i_clk, i_rst,
module  busmaster(i_clk, i_rst,
Line 232... Line 232...
`ifdef  ZIP_SCOPE
`ifdef  ZIP_SCOPE
                        , zip_debug
                        , zip_debug
`endif
`endif
                        );
                        );
`else
`else
        zipbones #(24'h2000,ZA,8,1)
        zipbones #(24'h2000,ZA,10,1)
                zippy(i_clk, 1'b0,
                zippy(i_clk, 1'b0,
                        // Zippys wishbone interface
                        // Zippys wishbone interface
                        zip_cyc, zip_stb, zip_we, w_zip_addr, zip_data,
                        zip_cyc, zip_stb, zip_we, w_zip_addr, zip_data,
                                zip_ack, zip_stall, dwb_idata, zip_err,
                                zip_ack, zip_stall, dwb_idata, zip_err,
                        w_interrupt, zip_cpu_int,
                        w_interrupt, zip_cpu_int,
Line 331... Line 331...
        assign  dwb_addr = wbu_addr;
        assign  dwb_addr = wbu_addr;
        assign  dwb_odata = wbu_data;
        assign  dwb_odata = wbu_data;
        assign  dwb_we = wbu_we;
        assign  dwb_we = wbu_we;
        assign  dwb_stb = (wbu_stb);
        assign  dwb_stb = (wbu_stb);
        assign  dwb_cyc = (wbu_cyc);
        assign  dwb_cyc = (wbu_cyc);
 
        assign  wb_cyc  = dwb_cyc;
 
        assign  wb_stb  = dwb_stb;
 
        assign  wb_we   = dwb_we;
 
        assign  wb_addr = dwb_addr;
 
        assign  wb_data = dwb_odata;
        assign  wbu_ack = dwb_ack;
        assign  wbu_ack = dwb_ack;
        assign  wbu_stall = dwb_stall;
        assign  wbu_stall = dwb_stall;
        assign  dwb_idata = wb_idata;
        assign  dwb_idata = wb_idata;
        assign  wbu_err = dwb_err;
        assign  wbu_err = dwb_err;
`endif
`endif

powered by: WebSVN 2.1.0

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