From f136b06211dc0fe572d77219b6ce579963d435fe Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 9 Apr 2012 16:35:31 -0700 Subject: vita: moved clear register to overlap with nchan register This fixes the bug where setting the format clears the vita RX. This is only an issue when the noclear option is set by UHD, because the format register is always so, so it always clears. Note: noclear is there to support the backwards compat API (pre streamer). Now, numchans and clear overlap. This is ok because in the host code, clear and numchans are always used together. All timing meets on N2xx and USRP2. --- usrp2/vrt/vita_rx_chain.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usrp2/vrt/vita_rx_chain.v') diff --git a/usrp2/vrt/vita_rx_chain.v b/usrp2/vrt/vita_rx_chain.v index ca2f847bc..2788dc9d5 100644 --- a/usrp2/vrt/vita_rx_chain.v +++ b/usrp2/vrt/vita_rx_chain.v @@ -41,7 +41,7 @@ module vita_rx_chain wire clear; assign clear_o = clear; wire clear_int; - setting_reg #(.my_addr(BASE+3)) sr + setting_reg #(.my_addr(BASE+8)) sr (.clk(clk),.rst(reset),.strobe(set_stb),.addr(set_addr), .in(set_data),.out(),.changed(clear_int)); -- cgit v1.2.3