diff options
author | Matt Ettus <matt@ettus.com> | 2010-12-29 17:13:27 -0800 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-12-29 17:13:27 -0800 |
commit | 19dafcc4ce1b53651cb7e4d471810cc81aa38528 (patch) | |
tree | 8213443384b3e503e9b7ed1d5ede3fbb2c1c4f6e /usrp2/vrt | |
parent | 9122c43bb037d04cba94cf762d5a352c8c729f08 (diff) | |
download | uhd-19dafcc4ce1b53651cb7e4d471810cc81aa38528.tar.gz uhd-19dafcc4ce1b53651cb7e4d471810cc81aa38528.tar.bz2 uhd-19dafcc4ce1b53651cb7e4d471810cc81aa38528.zip |
run should actually turn on now any time in the IBS_RUN state
Diffstat (limited to 'usrp2/vrt')
-rw-r--r-- | usrp2/vrt/vita_tx_control.v | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/usrp2/vrt/vita_tx_control.v b/usrp2/vrt/vita_tx_control.v index 223e20112..e966d987c 100644 --- a/usrp2/vrt/vita_tx_control.v +++ b/usrp2/vrt/vita_tx_control.v @@ -186,17 +186,14 @@ module vita_tx_control countdown <= 0; end else - if (sample_fifo_src_rdy_i & sample_fifo_dst_rdy_o) - begin - if(eob & eop) - run <= 0; - else - if(sob) - begin - run <= 1; - countdown <= MAX_IDLE; - end - end + if (ibs_state == IBS_RUN) + if(eob & eop & strobe & sample_fifo_src_rdy_i) + run <= 0; + else + begin + run <= 1; + countdown <= MAX_IDLE; + end else if (countdown == 0) run <= 0; |