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

Subversion Repositories sdr_ctrl

[/] [sdr_ctrl/] [trunk/] [rtl/] [lib/] [async_fifo.v] - Diff between revs 31 and 58

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

Rev 31 Rev 58
Line 189... Line 189...
    end
    end
 
 
    assign empty  = (RD_FAST == 1) ? empty_c : empty_q;
    assign empty  = (RD_FAST == 1) ? empty_c : empty_q;
    assign aempty = aempty_c;
    assign aempty = aempty_c;
 
 
    assign rd_data = mem[rd_ptr[AW-1:0]];
    reg [W-1 : 0]  rd_data_q;
 
 
 
   wire [W-1 : 0] rd_data_c = mem[rd_ptr[AW-1:0]];
 
   always @(posedge rd_clk) begin
 
        rd_data_q <= rd_data_c;
 
   end
 
   assign rd_data  = (RD_FAST == 1) ? rd_data_c : rd_data_q;
 
 
    wire [AW:0] grey_wr_ptr_dly ;
    wire [AW:0] grey_wr_ptr_dly ;
    assign #1 grey_wr_ptr_dly =  grey_wr_ptr;
    assign #1 grey_wr_ptr_dly =  grey_wr_ptr;
 
 
    // write pointer synchronizer
    // write pointer synchronizer

powered by: WebSVN 2.1.0

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