aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/gpmc/gpmc_async.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-04-15 17:55:22 -0700
committerMatt Ettus <matt@ettus.com>2010-04-15 17:55:22 -0700
commitbeccd823da07b7c8b8d95b4688c6e05732f66165 (patch)
treecfa42bcdf17e8abfd89a06266a43f31fb0c1957d /usrp2/gpmc/gpmc_async.v
parent449a420f4024004abc49f3a17d224910710def92 (diff)
downloaduhd-beccd823da07b7c8b8d95b4688c6e05732f66165.tar.gz
uhd-beccd823da07b7c8b8d95b4688c6e05732f66165.tar.bz2
uhd-beccd823da07b7c8b8d95b4688c6e05732f66165.zip
async seems to work with packet lengths now. Still need to do wishbone regs for gpmc
Diffstat (limited to 'usrp2/gpmc/gpmc_async.v')
-rw-r--r--usrp2/gpmc/gpmc_async.v10
1 files changed, 4 insertions, 6 deletions
diff --git a/usrp2/gpmc/gpmc_async.v b/usrp2/gpmc/gpmc_async.v
index c4cf0ef89..22e56cc89 100644
--- a/usrp2/gpmc/gpmc_async.v
+++ b/usrp2/gpmc/gpmc_async.v
@@ -67,7 +67,6 @@ module gpmc_async
wire [17:0] rx18_data, rx18b_data;
wire rx18_src_rdy, rx18_dst_rdy, rx18b_src_rdy, rx18b_dst_rdy;
wire [15:0] rx_fifo_space, rx_frame_len;
- assign rx_frame_len = tx_frame_len;
fifo36_to_fifo18 f18_to_f36
(.clk(fifo_clk), .reset(fifo_rst), .clear(0),
@@ -83,15 +82,14 @@ module gpmc_async
(.clk(fifo_clk), .reset(fifo_rst), .clear(0),
.data_i(rx18b_data), .src_rdy_i(rx18b_src_rdy), .dst_rdy_o(rx18b_dst_rdy),
.EM_D(EM_D_fifo), .EM_NCS(EM_NCS4), .EM_NOE(EM_NOE),
- .frame_len(rx_frame_len), .bus_error(bus_error_rx) );
+ .frame_len(rx_frame_len) );
fifo_watcher fifo_watcher
(.clk(fifo_clk), .reset(fifo_rst), .clear(0),
- .src_rdy(rx18_src_rdy), .dst_rdy(rx18_dst_rdy), .sof(rx18_data[16]), .eof(rx18_data[17]),
- .have_packet(), .length(), .next() );
+ .src_rdy1(rx18_src_rdy), .dst_rdy1(rx18_dst_rdy), .sof1(rx18_data[16]), .eof1(rx18_data[17]),
+ .src_rdy2(rx18b_src_rdy), .dst_rdy2(rx18b_dst_rdy), .sof2(rx18b_data[16]), .eof2(rx18b_data[17]),
+ .have_packet(rx_have_data), .length(rx_frame_len), .bus_error(bus_error_rx) );
- assign rx_have_data = 0;
-
// ////////////////////////////////////////////
// Control path on CS6