summaryrefslogtreecommitdiffstats
path: root/usrp2/top
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-19 15:24:10 -0800
committerJosh Blum <josh@joshknows.com>2010-11-23 19:06:59 -0800
commitff3430ad0623766c752ba91e9462c44975fce602 (patch)
tree7f2e031cb0c45e5480d86614704d697936a5388e /usrp2/top
parent3e0458a6bbe42678b2c2c8a51f48c77eb1c587c7 (diff)
downloaduhd-ff3430ad0623766c752ba91e9462c44975fce602.tar.gz
uhd-ff3430ad0623766c752ba91e9462c44975fce602.tar.bz2
uhd-ff3430ad0623766c752ba91e9462c44975fce602.zip
packet_router: registered control flags, added clear to all state machines
Diffstat (limited to 'usrp2/top')
-rw-r--r--usrp2/top/u2_rev3/u2_core_udp.v6
1 files changed, 4 insertions, 2 deletions
diff --git a/usrp2/top/u2_rev3/u2_core_udp.v b/usrp2/top/u2_rev3/u2_core_udp.v
index 1807f7e9a..e9c058527 100644
--- a/usrp2/top/u2_rev3/u2_core_udp.v
+++ b/usrp2/top/u2_rev3/u2_core_udp.v
@@ -361,10 +361,11 @@ module u2_core
wire [31:0] wr0_dat, wr1_dat, wr2_dat, wr3_dat;
wire [31:0] router_control;
+ wire router_control_changed;
setting_reg #(.my_addr(SR_BUF_POOL))
sreg(.clk(dsp_clk),.rst(dsp_rst),.strobe(set_stb_dsp),.addr(set_addr_dsp),.in(set_data_dsp),
- .out(router_control),.changed());
+ .out(router_control),.changed(router_control_changed));
packet_router #(.BUF_SIZE(9)) packet_router
(.wb_clk_i(wb_clk),.wb_rst_i(wb_rst),
@@ -373,7 +374,8 @@ module u2_core
.stream_clk(dsp_clk), .stream_rst(dsp_rst),
- .control(router_control), .status(status), .sys_int_o(buffer_int),
+ .control(router_control), .control_changed(router_control_changed),
+ .status(status), .sys_int_o(buffer_int),
.ser_inp_data({wr0_flags, wr0_dat}), .ser_inp_valid(wr0_ready_i), .ser_inp_ready(wr0_ready_o),
.dsp_inp_data({wr1_flags, wr1_dat}), .dsp_inp_valid(wr1_ready_i), .dsp_inp_ready(wr1_ready_o),