summaryrefslogtreecommitdiffstats
path: root/fpga/usrp2/top/USRP2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-04-21 11:06:38 -0700
committerJosh Blum <josh@joshknows.com>2012-04-21 11:06:38 -0700
commitf84d7579aecaf2a90965331b200f6b298cd0c1d4 (patch)
tree4787f725f7c6b0a7efd5d91a4719b12f1591e6cc /fpga/usrp2/top/USRP2
parent20ea7b7bc90c02a61f5284d38d18969b9710302a (diff)
parent00f515da98ccd2b123e15d7e724a9d91ad5c46d9 (diff)
downloaduhd-f84d7579aecaf2a90965331b200f6b298cd0c1d4.tar.gz
uhd-f84d7579aecaf2a90965331b200f6b298cd0c1d4.tar.bz2
uhd-f84d7579aecaf2a90965331b200f6b298cd0c1d4.zip
Merge branch 'timed_cmds_work_fpga' into timed_cmds_work
Diffstat (limited to 'fpga/usrp2/top/USRP2')
-rw-r--r--fpga/usrp2/top/USRP2/u2_core.v21
1 files changed, 15 insertions, 6 deletions
diff --git a/fpga/usrp2/top/USRP2/u2_core.v b/fpga/usrp2/top/USRP2/u2_core.v
index 9038ab788..d8fe8cf10 100644
--- a/fpga/usrp2/top/USRP2/u2_core.v
+++ b/fpga/usrp2/top/USRP2/u2_core.v
@@ -464,8 +464,8 @@ module u2_core
(.wb_clk_i(wb_clk), .wb_rst_i(wb_rst), .wb_stb_i(s5_stb),
.wb_adr_i(s5_adr), .wb_dat_o(s5_dat_i), .wb_ack_o(s5_ack),
- .word00(spi_readback),.word01(32'b0),.word02(32'b0),.word03(32'b0),
- .word04(32'b0),.word05(32'b0),.word06(32'b0),.word07(32'b0),
+ .word00(spi_readback),.word01(32'hffff_ffff),.word02(32'hffff_ffff),.word03(32'hffff_ffff),
+ .word04(32'hffff_ffff),.word05(32'hffff_ffff),.word06(32'hffff_ffff),.word07(32'hffff_ffff),
.word08(status),.word09(gpio_readback),.word10(vita_time[63:32]),
.word11(vita_time[31:0]),.word12(compat_num),.word13(irq_readback),
.word14(vita_time_pps[63:32]),.word15(vita_time_pps[31:0])
@@ -523,6 +523,7 @@ module u2_core
wire [31:0] sfc_debug;
wire sfc_clear;
+ /*
settings_fifo_ctrl #(.PROT_DEST(3), .PROT_HDR(1)) sfc
(
.clock(dsp_clk), .reset(dsp_rst), .clear(sfc_clear),
@@ -530,13 +531,21 @@ module u2_core
.in_data(sfc_rd_data), .in_valid(sfc_rd_valid), .in_ready(sfc_rd_ready),
.out_data(sfc_wr_data), .out_valid(sfc_wr_valid), .out_ready(sfc_wr_ready),
.strobe(set_stb_dsp1), .addr(set_addr_dsp1), .data(set_data_dsp1),
- .word00(spi_readback),.word01(32'b0),.word02(32'b0),.word03(32'b0),
- .word04(32'b0),.word05(32'b0),.word06(32'b0),.word07(32'b0),
- .word08(status),.word09(gpio_readback),.word10(vita_time[63:32]),
- .word11(vita_time[31:0]),.word12(compat_num),.word13(irq_readback),
+ .word00(spi_readback),.word01(32'hffff_ffff),.word02(32'hffff_ffff),.word03(32'hffff_ffff),
+ .word04(32'hffff_ffff),.word05(32'hffff_ffff),.word06(32'hffff_ffff),.word07(32'hffff_ffff),
+ .word08(32'hffff_ffff),.word09(gpio_readback),.word10(vita_time[63:32]),
+ .word11(vita_time[31:0]),.word12(32'hffff_ffff),.word13(irq_readback),
.word14(vita_time_pps[63:32]),.word15(vita_time_pps[31:0]),
.debug(sfc_debug)
);
+ */
+ assign sfc_debug = 0;
+ assign set_stb_dsp1 = 0;
+ assign set_addr_dsp1 = 0;
+ assign set_data_dsp1 = 0;
+ assign sfc_rd_ready = 1;
+ assign sfc_wr_valid = 0;
+ assign sfc_wr_data = 0;
setting_reg #(.my_addr(SR_BUF_POOL+1/*same as packet dispatcher*/),.width(1)) sr_clear_sfc
(.clk(dsp_clk),.rst(dsp_rst),.strobe(set_stb_dsp),.addr(set_addr_dsp),.in(set_data_dsp),.changed(sfc_clear));