aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/control_lib/settings_readback_bus_fifo_ctrl.v
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-03-01 19:59:10 -0800
committerJosh Blum <josh@joshknows.com>2012-03-16 11:29:17 -0700
commit0d712ac8ac311f716bb6fc418a46abb79c71e3b4 (patch)
tree8a39f5b5850af4b4f0899dc130607ef9652a7892 /usrp2/control_lib/settings_readback_bus_fifo_ctrl.v
parentd6da6c4145d4f7411004e0c8176f029cbe998c09 (diff)
downloaduhd-0d712ac8ac311f716bb6fc418a46abb79c71e3b4.tar.gz
uhd-0d712ac8ac311f716bb6fc418a46abb79c71e3b4.tar.bz2
uhd-0d712ac8ac311f716bb6fc418a46abb79c71e3b4.zip
fifo_ctrl: clear settings reg, and flow control
Diffstat (limited to 'usrp2/control_lib/settings_readback_bus_fifo_ctrl.v')
-rw-r--r--usrp2/control_lib/settings_readback_bus_fifo_ctrl.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/usrp2/control_lib/settings_readback_bus_fifo_ctrl.v b/usrp2/control_lib/settings_readback_bus_fifo_ctrl.v
index 89efd2203..24c618d79 100644
--- a/usrp2/control_lib/settings_readback_bus_fifo_ctrl.v
+++ b/usrp2/control_lib/settings_readback_bus_fifo_ctrl.v
@@ -251,7 +251,8 @@ module settings_readback_bus_fifo_ctrl
end
WAIT_CMD: begin
- if (now || late) out_state <= ACTION_EVENT;
+ if (clear) out_state <= LOAD_CMD;
+ else if (now || late) out_state <= ACTION_EVENT;
end
ACTION_EVENT: begin // poking and peeking happens here!