URL
https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk
[/] [qaz_libs/] [trunk/] [PCIe/] [src/] [RIFFA/] [riffa_chnl_tx.sv] - Diff between revs 39 and 43
Show entire file |
Details |
Blame |
View Log
Rev 39 |
Rev 43 |
Line 57... |
Line 57... |
|
|
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
//
|
//
|
always_ff @(posedge clk)
|
always_ff @(posedge clk)
|
if(reset | ~chnl_bus.tx | tx_done)
|
if(reset | ~chnl_bus.tx | tx_done)
|
tx_index = 0;
|
tx_index <= 0;
|
else if(chnl_bus.tx_data_valid & chnl_bus.tx_data_ren)
|
else if(chnl_bus.tx_data_valid & chnl_bus.tx_data_ren)
|
tx_index <= tx_index + (N/4); // increment by 32 bit words
|
tx_index <= tx_index + (N/4); // increment by 32 bit words
|
|
|
|
|
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.