summaryrefslogtreecommitdiff
path: root/usrp2
diff options
context:
space:
mode:
authormatt2009-01-22 01:02:08 +0000
committermatt2009-01-22 01:02:08 +0000
commit4f46841cdf9e0de686255eed37f8889783d3d386 (patch)
tree4376c8c31f9e18e3d38ecd4a46ecfd2acb187263 /usrp2
parent76019d92265a85197d9d6bccfbbdb725a58d8d5a (diff)
downloadgnuradio-4f46841cdf9e0de686255eed37f8889783d3d386.tar.gz
gnuradio-4f46841cdf9e0de686255eed37f8889783d3d386.tar.bz2
gnuradio-4f46841cdf9e0de686255eed37f8889783d3d386.zip
detect loss of signal
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10284 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2')
-rw-r--r--usrp2/fpga/serdes/serdes_rx.v3
1 files changed, 2 insertions, 1 deletions
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)