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

Subversion Repositories srdydrdy_lib

[/] [srdydrdy_lib/] [trunk/] [examples/] [bridge/] [rtl/] [egr_oflow.v] - Diff between revs 8 and 13

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

Rev 8 Rev 13
Line 1... Line 1...
module egr_oflow
module egr_oflow
  #(parameter drop_thr=`TX_FIFO_DEPTH-10)
  #(parameter drop_thr=`TX_FIFO_DEPTH-128)
  (
  (
   input        clk,
   input        clk,
   input        reset,
   input        reset,
 
 
   input        c_srdy,
   input        c_srdy,
Line 58... Line 58...
                p_srdy = 1;
                p_srdy = 1;
                c_drdy = 1;
                c_drdy = 1;
                p_commit = 1;
                p_commit = 1;
                nxt_state = s_idle;
                nxt_state = s_idle;
              end
              end
            else if (tx_usage >= drop_thr)
            else if (!p_drdy | (tx_usage >= drop_thr))
              begin
              begin
                c_drdy = 1;
                c_drdy = 1;
                nxt_state = s_idle;
                nxt_state = s_idle;
                p_abort = 1;
                p_abort = 1;
              end
              end

powered by: WebSVN 2.1.0

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