From 4f46841cdf9e0de686255eed37f8889783d3d386 Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 22 Jan 2009 01:02:08 +0000 Subject: detect loss of signal git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10284 221aa14e-8319-0410-a670-987f0aec2ac5 --- usrp2/fpga/serdes/serdes_rx.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usrp2/fpga/serdes/serdes_rx.v') diff --git a/usrp2/fpga/serdes/serdes_rx.v b/usrp2/fpga/serdes/serdes_rx.v index 0541f8d45..8c488d7d7 100644 --- a/usrp2/fpga/serdes/serdes_rx.v +++ b/usrp2/fpga/serdes/serdes_rx.v @@ -337,7 +337,8 @@ module serdes_rx assign wr_dat_o = line_o; - wire slu = ~({2'b11,K_ERROR,K_ERROR}=={ser_rkmsb,ser_rklsb,ser_r}); + wire slu = ~(({2'b11,K_ERROR,K_ERROR}=={ser_rkmsb,ser_rklsb,ser_r}) || + ({2'b11,K_LOS,K_LOS}=={ser_rkmsb,ser_rklsb,ser_r})); reg [3:0] slu_reg; always @(posedge clk) -- cgit