aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/gpif
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-10-25 17:00:18 -0700
committerMatt Ettus <matt@ettus.com>2011-05-26 17:31:20 -0700
commita9f3336efeec5936ddfaf7f37344700cf79b3243 (patch)
tree66670c204f4532c72baf4e67bfb84b8afbb1fe76 /usrp2/gpif
parent0ce67c4b8512f66978402271e2487223ec012c7b (diff)
downloaduhd-a9f3336efeec5936ddfaf7f37344700cf79b3243.tar.gz
uhd-a9f3336efeec5936ddfaf7f37344700cf79b3243.tar.bz2
uhd-a9f3336efeec5936ddfaf7f37344700cf79b3243.zip
add padding into gpif response path
Diffstat (limited to 'usrp2/gpif')
-rw-r--r--usrp2/gpif/gpif.v11
1 files changed, 8 insertions, 3 deletions
diff --git a/usrp2/gpif/gpif.v b/usrp2/gpif/gpif.v
index e88ffce20..1edcbf6ad 100644
--- a/usrp2/gpif/gpif.v
+++ b/usrp2/gpif/gpif.v
@@ -75,8 +75,8 @@ module gpif
wire rx36_src_rdy, rx36_dst_rdy;
wire [17:0] rx18_data;
wire rx18_src_rdy, rx18_dst_rdy;
- wire [17:0] resp_data;
- wire resp_src_rdy, resp_dst_rdy;
+ wire [17:0] resp_data, resp_int;
+ wire resp_src_rdy, resp_dst_rdy, resp_src_rdy_int, resp_dst_rdy_int;
fifo_cascade #(.WIDTH(36), .SIZE(RXFIFOSIZE)) rx_fifo36
(.clk(fifo_clk), .reset(fifo_rst), .clear(0),
@@ -104,12 +104,17 @@ module gpif
fifo_to_wb fifo_to_wb
(.clk(fifo_clk), .reset(fifo_rst), .clear(0),
.data_i(ctrl_data), .src_rdy_i(ctrl_src_rdy), .dst_rdy_o(ctrl_dst_rdy),
- .data_o(resp_data), .src_rdy_o(resp_src_rdy), .dst_rdy_i(resp_dst_rdy),
+ .data_o(resp_int), .src_rdy_o(resp_src_rdy_int), .dst_rdy_i(resp_dst_rdy_int),
.wb_adr_o(wb_adr_o), .wb_dat_mosi(wb_dat_mosi), .wb_dat_miso(wb_dat_miso), .wb_sel_o(wb_sel_o),
.wb_cyc_o(wb_cyc_o), .wb_stb_o(wb_stb_o), .wb_we_o(wb_we_o), .wb_ack_i(wb_ack_i),
.triggers(triggers),
.debug0(), .debug1());
+ fifo19_pad #(.LENGTH(16)) fifo19_pad
+ (.clk(fifo_clk), .reset(fifo_rst), .clear(clear),
+ .data_i(resp_int), .src_rdy_i(resp_src_rdy_int), .dst_rdy_o(resp_dst_rdy_int),
+ .data_o(resp_data), .src_rdy_o(resp_src_rdy), .dst_rdy_i(resp_dst_rdy));
+
// ////////////////////////////////////////////
// DEBUG