diff options
author | matt <matt@221aa14e-8319-0410-a670-987f0aec2ac5> | 2009-01-22 01:02:08 +0000 |
---|---|---|
committer | matt <matt@221aa14e-8319-0410-a670-987f0aec2ac5> | 2009-01-22 01:02:08 +0000 |
commit | 1a81c88e7b41cdf28a04160b8dde5e04970dcffe (patch) | |
tree | d77b878972974f6837c180c48b239eeaa42fb2d6 /serdes/serdes_rx.v | |
parent | 77410e5cd34c129b409d07dd5ddef90bcbb56b95 (diff) | |
download | uhd-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
Diffstat (limited to 'serdes/serdes_rx.v')
-rw-r--r-- | serdes/serdes_rx.v | 3 |
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) |