diff options
author | Matt Ettus <matt@ettus.com> | 2010-04-15 18:55:20 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-04-15 18:55:20 -0700 |
commit | d94a0fbea165463a132006a15eb8548cde79a4d2 (patch) | |
tree | ebef8845b0a940e3db8a90523b7a5c6d151d8f3a /usrp2/gpmc/gpmc_async.v | |
parent | beccd823da07b7c8b8d95b4688c6e05732f66165 (diff) | |
download | uhd-d94a0fbea165463a132006a15eb8548cde79a4d2.tar.gz uhd-d94a0fbea165463a132006a15eb8548cde79a4d2.tar.bz2 uhd-d94a0fbea165463a132006a15eb8548cde79a4d2.zip |
access frame length regs from wishbone
Diffstat (limited to 'usrp2/gpmc/gpmc_async.v')
-rw-r--r-- | usrp2/gpmc/gpmc_async.v | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usrp2/gpmc/gpmc_async.v b/usrp2/gpmc/gpmc_async.v index 22e56cc89..b1a545907 100644 --- a/usrp2/gpmc/gpmc_async.v +++ b/usrp2/gpmc/gpmc_async.v @@ -19,6 +19,8 @@ module gpmc_async output [35:0] tx_data_o, output tx_src_rdy_o, input tx_dst_rdy_i, input [35:0] rx_data_i, input rx_src_rdy_i, output rx_dst_rdy_o, + input [15:0] tx_frame_len, output [15:0] rx_frame_len, + output [31:0] debug ); @@ -40,9 +42,7 @@ module gpmc_async wire [17:0] tx18_data, tx18b_data; wire tx18_src_rdy, tx18_dst_rdy, tx18b_src_rdy, tx18b_dst_rdy; - wire [15:0] tx_fifo_space, tx_frame_len; - - assign tx_frame_len = 10; + wire [15:0] tx_fifo_space; gpmc_to_fifo_async gpmc_to_fifo_async (.EM_D(EM_D), .EM_NBE(EM_NBE), .EM_NCS(EM_NCS4), .EM_NWE(EM_NWE), @@ -66,7 +66,7 @@ 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; + wire [15:0] rx_fifo_space; fifo36_to_fifo18 f18_to_f36 (.clk(fifo_clk), .reset(fifo_rst), .clear(0), |