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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [PCIe/] [src/] [RIFFA/] [riffa_chnl_rx.sv] - Diff between revs 35 and 43

Show entire file | Details | Blame | View Log

Rev 35 Rev 43
Line 82... Line 82...
 
 
  // --------------------------------------------------------------------
  // --------------------------------------------------------------------
  //
  //
  always_ff @(posedge clk)
  always_ff @(posedge clk)
    if(reset | rx_done)
    if(reset | rx_done)
      rx_index = 0;
      rx_index <= 0;
    else if(rd_en)
    else if(rd_en)
      rx_index <= rx_index + (N/4); // increment by 32 bit words
      rx_index <= rx_index + (N/4); // increment by 32 bit words
 
 
 
 
  // --------------------------------------------------------------------
  // --------------------------------------------------------------------

powered by: WebSVN 2.1.0

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