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

Subversion Repositories axi_slave

[/] [axi_slave/] [trunk/] [src/] [base/] [axi_slave_ram.v] - Diff between revs 10 and 11

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

Rev 10 Rev 11
Line 84... Line 84...
 
 
   wire                       RD_last;
   wire                       RD_last;
 
 
   assign                     RID   = rcmd_id2;
   assign                     RID   = rcmd_id2;
 
 
 
   //give ready only after VALID comes
 
   assign                     ARREADY = ((~rcmd_full) & (~AR_stall) & (~ARBUSY)) & ARVALID;
 
   assign                     AWREADY = ((~wcmd_full) & (~AW_stall) & (~AWBUSY)) & AWVALID;
 
 
   assign                     ARREADY = ((~rcmd_full) & (~AR_stall) & (~ARBUSY)) || (~ARVALID);
  // assign                     ARREADY = ((~rcmd_full) & (~AR_stall) & (~ARBUSY)) || (~ARVALID);
   assign                     AWREADY = ((~wcmd_full) & (~AW_stall) & (~AWBUSY)) || (~AWVALID);
  // assign                     AWREADY = ((~wcmd_full) & (~AW_stall) & (~AWBUSY)) || (~AWVALID);
   assign                     BVALID  = (~wresp_timeout) & (wresp_pending ? (~wresp_empty) : (~wresp_empty) & (~BBUSY));
   assign                     BVALID  = (~wresp_timeout) & (wresp_pending ? (~wresp_empty) : (~wresp_empty) & (~BBUSY));
 
 
   CREATE axi_slave_busy.v
   CREATE axi_slave_busy.v
   PREFIX_busy
   PREFIX_busy
     PREFIX_busy (
     PREFIX_busy (
Line 242... Line 245...
                   .RRESP(RRESP),
                   .RRESP(RRESP),
                   .RBUSY(RBUSY)
                   .RBUSY(RBUSY)
                   );
                   );
 
 
   //wr_buff
   //wr_buff
   assign                     WREADY = (~wcmd_timeout) & (~wcmd_empty) & (~WBUSY);
   assign                     WREADY = (~wcmd_timeout) & (~wcmd_empty) & (~WBUSY) & WVALID;
   assign                     WR     = WVALID & WREADY & (~wcmd_empty);
   assign                     WR     = WVALID & WREADY & (~wcmd_empty);
   assign                     DIN    = WDATA;
   assign                     DIN    = WDATA;
   assign                     BSEL   = WSTRB;
   assign                     BSEL   = WSTRB;
 
 
 
 

powered by: WebSVN 2.1.0

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