summaryrefslogtreecommitdiffstats
path: root/usrp2/top/u1plus
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2011-04-22 15:17:36 -0700
committerMatt Ettus <matt@ettus.com>2011-05-26 17:31:22 -0700
commit42561353c372696337983e74a5c7b690afa2aedd (patch)
tree5fd07829149406720ff3d07da206a1f1393e471e /usrp2/top/u1plus
parent08149d4c4e904d3a224ac9e24814ce04f3d9c509 (diff)
downloaduhd-42561353c372696337983e74a5c7b690afa2aedd.tar.gz
uhd-42561353c372696337983e74a5c7b690afa2aedd.tar.bz2
uhd-42561353c372696337983e74a5c7b690afa2aedd.zip
u1p: reset gpif
Diffstat (limited to 'usrp2/top/u1plus')
-rw-r--r--usrp2/top/u1plus/u1plus_core.v6
1 files changed, 4 insertions, 2 deletions
diff --git a/usrp2/top/u1plus/u1plus_core.v b/usrp2/top/u1plus/u1plus_core.v
index a2147e463..26565afa6 100644
--- a/usrp2/top/u1plus/u1plus_core.v
+++ b/usrp2/top/u1plus/u1plus_core.v
@@ -53,6 +53,8 @@ module u1plus_core
wire [31:0] debug1;
wire [31:0] debug_vt;
+ wire gpif_rst;
+
wire rx_overrun_dsp, rx_overrun_gpmc, tx_underrun_dsp, tx_underrun_gpmc;
reg [7:0] frames_per_packet;
@@ -63,7 +65,8 @@ module u1plus_core
(.clk(wb_clk),.rst(wb_rst),.strobe(set_stb),.addr(set_addr),
.in(set_data),.out(),.changed(global_reset));
- reset_sync reset_sync(.clk(wb_clk), .reset_in(rst_fpga | global_reset), .reset_out(wb_rst));
+ reset_sync reset_sync_wb(.clk(wb_clk), .reset_in(rst_fpga | global_reset), .reset_out(wb_rst));
+ reset_sync reset_sync_gp(.clk(wb_clk), .reset_in(rst_fpga | global_reset), .reset_out(gpif_rst));
wire [15:0] test_len;
// /////////////////////////////////////////////////////////////////////////////////////
@@ -84,7 +87,6 @@ module u1plus_core
tx_err_src_rdy, tx_err_dst_rdy;
wire bus_error;
- wire gpif_rst = 0;
wire clear_tx, clear_rx;
setting_reg #(.my_addr(SR_CLEAR_RX_FIFO), .width(1)) sr_clear_rx