URL
https://opencores.org/ocsvn/turbo8051/turbo8051/trunk
[/] [turbo8051/] [trunk/] [rtl/] [lib/] [g_dpath_ctrl.v] - Diff between revs 50 and 57
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 50 |
Rev 57 |
Line 137... |
Line 137... |
//----------------------------
|
//----------------------------
|
if(g_rx_pkt_done && g_rx_pkt_drop) begin
|
if(g_rx_pkt_done && g_rx_pkt_drop) begin
|
g_rx_mem_addr_int <= g_rx_saddr;
|
g_rx_mem_addr_int <= g_rx_saddr;
|
end else if(g_rx_mem_rd && g_rx_mem_eop) begin
|
end else if(g_rx_mem_rd && g_rx_mem_eop) begin
|
// Realign to 32 bit boundary and add one free space at eop
|
// Realign to 32 bit boundary and add one free space at eop
|
g_rx_mem_addr_int <= g_rx_mem_addr_int+4-g_rx_mem_addr_int[1:0];
|
g_rx_mem_addr_int[1:0] <= 0;
|
|
g_rx_mem_addr_int[11:2] <= g_rx_mem_addr_int[11:2]+1;
|
end else if(g_rx_mem_rd ) begin
|
end else if(g_rx_mem_rd ) begin
|
g_rx_mem_addr_int <= g_rx_mem_addr_int+1;
|
g_rx_mem_addr_int <= g_rx_mem_addr_int+1;
|
end
|
end
|
// Descriptor Request Generation
|
// Descriptor Request Generation
|
if(g_rx_pkt_done) begin
|
if(g_rx_pkt_done) begin
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.