summaryrefslogtreecommitdiffstats
path: root/simple_gemac
diff options
context:
space:
mode:
authormatt <matt@221aa14e-8319-0410-a670-987f0aec2ac5>2009-04-02 07:57:20 +0000
committermatt <matt@221aa14e-8319-0410-a670-987f0aec2ac5>2009-04-02 07:57:20 +0000
commit2a77dc7d152b98bde536e4b419f6a0474d4933aa (patch)
treedf6087e6ca131884340bdea2e4f7c066883474bb /simple_gemac
parent4593e7cb22310c19cb10796b4621c5794690d7e2 (diff)
downloaduhd-2a77dc7d152b98bde536e4b419f6a0474d4933aa.tar.gz
uhd-2a77dc7d152b98bde536e4b419f6a0474d4933aa.tar.bz2
uhd-2a77dc7d152b98bde536e4b419f6a0474d4933aa.zip
only write one error into fifo
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10742 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'simple_gemac')
-rw-r--r--simple_gemac/simple_gemac_rx.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/simple_gemac/simple_gemac_rx.v b/simple_gemac/simple_gemac_rx.v
index df0e9e686..7daa9adad 100644
--- a/simple_gemac/simple_gemac_rx.v
+++ b/simple_gemac/simple_gemac_rx.v
@@ -46,7 +46,7 @@ module simple_gemac_rx
rx_valid <= 0;
else if(keep_packet)
rx_valid <= 1;
- else if((rx_state == RX_IDLE))//|(rx_state == RX_GOODFRAME))
+ else if((rx_state == RX_IDLE)|(rx_state == RX_ERROR))
rx_valid <= 0;
address_filter af_ucast (.clk(rx_clk), .reset(reset), .go(go_filt), .data(rxd_d1),