commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10741 - gnuradio/trunk/usrp2/fpga/simple_gemac


From: matt
Subject: [Commit-gnuradio] r10741 - gnuradio/trunk/usrp2/fpga/simple_gemac
Date: Thu, 2 Apr 2009 01:40:52 -0600 (MDT)

Author: matt
Date: 2009-04-02 01:40:52 -0600 (Thu, 02 Apr 2009)
New Revision: 10741

Modified:
   gnuradio/trunk/usrp2/fpga/simple_gemac/simple_gemac_rx.v
Log:
generate error signal


Modified: gnuradio/trunk/usrp2/fpga/simple_gemac/simple_gemac_rx.v
===================================================================
--- gnuradio/trunk/usrp2/fpga/simple_gemac/simple_gemac_rx.v    2009-04-02 
07:39:57 UTC (rev 10740)
+++ gnuradio/trunk/usrp2/fpga/simple_gemac/simple_gemac_rx.v    2009-04-02 
07:40:52 UTC (rev 10741)
@@ -27,9 +27,6 @@
    delay_line #(.WIDTH(10)) rx_delay
      (.clk(rx_clk), .delay(DELAY), 
.din({rx_dv_d1,rx_er_d1,rxd_d1}),.dout({rx_dv_del,rx_er_dl,rxd_del}));
 
-   assign rx_data   = rxd_del;
-   assign rx_error  = 0;
-
    always @(posedge rx_clk)
      if(reset)
        rx_ack     <= 0;
@@ -41,6 +38,9 @@
        (pass_bcast & is_bcast) | (pass_pause & is_pause) | pass_all;
    
    reg [7:0] rx_state;
+   assign rx_data   = rxd_del;
+   assign rx_error  = (rx_state == RX_ERROR);
+
    always @(posedge rx_clk)
      if(reset)
        rx_valid <= 0;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]