summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatt <matt@221aa14e-8319-0410-a670-987f0aec2ac5>2009-01-22 01:02:08 +0000
committermatt <matt@221aa14e-8319-0410-a670-987f0aec2ac5>2009-01-22 01:02:08 +0000
commit1a81c88e7b41cdf28a04160b8dde5e04970dcffe (patch)
treed77b878972974f6837c180c48b239eeaa42fb2d6
parent77410e5cd34c129b409d07dd5ddef90bcbb56b95 (diff)
downloaduhd-1a81c88e7b41cdf28a04160b8dde5e04970dcffe.tar.gz
uhd-1a81c88e7b41cdf28a04160b8dde5e04970dcffe.tar.bz2
uhd-1a81c88e7b41cdf28a04160b8dde5e04970dcffe.zip
detect loss of signal
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10284 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--serdes/serdes_rx.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/serdes/serdes_rx.v b/serdes/serdes_rx.v
index 0541f8d45..8c488d7d7 100644
--- a/serdes/serdes_rx.v
+++ b/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)