From 5810c31b4ef73c97ea3ffb0a1ecccb254e141645 Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Fri, 11 Dec 2009 18:31:17 -0800 Subject: only pull from input fifo when really consuming or pushing into the next fifo --- vrt/vita_tx_deframer.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vrt') diff --git a/vrt/vita_tx_deframer.v b/vrt/vita_tx_deframer.v index 470ba3f3e..a06d9ce2f 100644 --- a/vrt/vita_tx_deframer.v +++ b/vrt/vita_tx_deframer.v @@ -177,7 +177,7 @@ module vita_tx_deframer // sob, eob, has_secs (send_at) ignored on all lines except first assign fifo_i = {sample_d,sample_c,sample_b,sample_a,has_secs_reg,is_sob_reg,is_eob_reg,eop,send_time}; - assign dst_rdy_o = (vita_state != VITA_PAYLOAD); + assign dst_rdy_o = ~(vita_state == VITA_PAYLOAD) & ~((vita_state==VITA_STORE)& ~fifo_space) ; assign debug = { { 8'b0 }, { 8'b0 }, -- cgit v1.2.3