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

Subversion Repositories sdr_ctrl

[/] [sdr_ctrl/] [trunk/] [rtl/] [wb2sdrc/] [wb2sdrc.v] - Diff between revs 40 and 42

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

Rev 40 Rev 42
Line 11... Line 11...
    nothing
    nothing
 
 
  Author(s):  Dinesh Annayya, dinesha@opencores.org
  Author(s):  Dinesh Annayya, dinesha@opencores.org
  Version  : 0.0 - Initial Release
  Version  : 0.0 - Initial Release
             0.1 - 2nd Feb 2012
             0.1 - 2nd Feb 2012
                   Async Fifo towards the application layer is selected with Registered Full Generation
                   Async Fifo towards the application layer is selected
 
                   with Registered Full Generation
 
             0.2 - 2nd Feb 2012
 
                   Pending Read generation bug fix done to handle backto back write
 
                   followed by read request
 
 
 Copyright (C) 2000 Authors and OPENCORES.ORG
 Copyright (C) 2000 Authors and OPENCORES.ORG
 
 
 
 
 This source file may be used and distributed without
 This source file may be used and distributed without
Line 196... Line 200...
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
always @(posedge wb_rst_i or posedge wb_clk_i) begin
always @(posedge wb_rst_i or posedge wb_clk_i) begin
   if(wb_rst_i) begin
   if(wb_rst_i) begin
       pending_read <= 1'b0;
       pending_read <= 1'b0;
   end else begin
   end else begin
      pending_read <=  wb_stb_i & wb_cyc_i & !wb_we_i & !wb_ack_o;
      //pending_read <=  wb_stb_i & wb_cyc_i & !wb_we_i & !wb_ack_o;
 
      pending_read <=   (cmdfifo_wr && !wb_we_i) ? 1'b1:
 
                        (wb_stb_i & wb_cyc_i & !wb_we_i & wb_ack_o) ? 1'b0: pending_read;
   end
   end
end
end
 
 
//---------------------------------------------------------------------
//---------------------------------------------------------------------
// Async Command FIFO. This block handle the clock domain change from
// Async Command FIFO. This block handle the clock domain change from

powered by: WebSVN 2.1.0

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