diff options
Diffstat (limited to 'usrp2/fifo/packet_router.v')
-rw-r--r-- | usrp2/fifo/packet_router.v | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usrp2/fifo/packet_router.v b/usrp2/fifo/packet_router.v index ff1f80927..161b59016 100644 --- a/usrp2/fifo/packet_router.v +++ b/usrp2/fifo/packet_router.v @@ -68,11 +68,10 @@ module packet_router //setting register for mode control wire [31:0] _sreg_mode_ctrl; - wire master_mode_flag = _sreg_mode_ctrl[0]; - setting_reg #(.my_addr(CTRL_BASE+0)) sreg_mode_ctrl( + setting_reg #(.my_addr(CTRL_BASE+0), .width(1)) sreg_mode_ctrl( .clk(stream_clk),.rst(stream_rst), .strobe(set_stb),.addr(set_addr),.in(set_data), - .out(_sreg_mode_ctrl),.changed() + .out(master_mode_flag),.changed() ); //setting register to program the IP address |