From 610488690a5f7bf1dd828aa6b9a70dd0874ca87f Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Wed, 15 Dec 2021 17:16:32 -0600 Subject: fpga: x300: Fix time register readback --- fpga/usrp3/top/x300/bus_int.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpga') diff --git a/fpga/usrp3/top/x300/bus_int.v b/fpga/usrp3/top/x300/bus_int.v index 4ca05c5fe..90f840a4c 100644 --- a/fpga/usrp3/top/x300/bus_int.v +++ b/fpga/usrp3/top/x300/bus_int.v @@ -439,12 +439,12 @@ module bus_int #( RB_FP_GPIO_SRC: rb_data = fp_gpio_src; SR_BASE_TIME: begin rb_data = radio_time[31:0]; - radio_time_hi_ld = 1'b1; + radio_time_hi_ld = rb_rd_stb; end SR_BASE_TIME + 'h04: rb_data = radio_time_hi; SR_BASE_TIME + 'h14: begin rb_data = radio_time_last_pps[31:0]; - radio_time_last_pps_hi_ld = 1'b1; + radio_time_last_pps_hi_ld = rb_rd_stb; end SR_BASE_TIME + 'h18: rb_data = radio_time_last_pps_hi; SR_BASE_TIME + 'h1C: rb_data = period_ns_q32_tb[31:0]; -- cgit v1.2.3