diff options
author | Matt Ettus <matt@ettus.com> | 2011-02-17 16:33:41 -0800 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2011-02-17 16:33:41 -0800 |
commit | ee50f438752a4beb780c3340026e2f29c1c32a3e (patch) | |
tree | 3de0e6143131a998a9de42979951d9852b36541f /usrp2/top | |
parent | 3660330fae97026a74cd5d396a04040ab324ca09 (diff) | |
download | uhd-ee50f438752a4beb780c3340026e2f29c1c32a3e.tar.gz uhd-ee50f438752a4beb780c3340026e2f29c1c32a3e.tar.bz2 uhd-ee50f438752a4beb780c3340026e2f29c1c32a3e.zip |
u1e: hook up tester controls
Diffstat (limited to 'usrp2/top')
-rw-r--r-- | usrp2/top/u1e/u1e_core.v | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usrp2/top/u1e/u1e_core.v b/usrp2/top/u1e/u1e_core.v index c0e92ec6c..174a2a3f8 100644 --- a/usrp2/top/u1e/u1e_core.v +++ b/usrp2/top/u1e/u1e_core.v @@ -44,6 +44,8 @@ module u1e_core wire pps_int; wire [63:0] vita_time, vita_time_pps; reg [15:0] reg_leds, reg_cgen_ctrl, reg_test, xfer_rate; + wire [7:0] test_rate; + wire [3:0] test_ctrl; wire [7:0] set_addr; wire [31:0] set_data; @@ -78,7 +80,6 @@ module u1e_core tx_err_src_rdy, tx_err_dst_rdy; reg [15:0] tx_frame_len; wire [15:0] rx_frame_len; - wire [7:0] rate; wire bus_error; wire clear_tx, clear_rx; @@ -111,6 +112,8 @@ module u1e_core .tx_frame_len(tx_frame_len), .rx_frame_len(rx_frame_len), .tx_underrun(tx_underrun_gpmc), .rx_overrun(rx_overrun_gpmc), + + .test_rate(test_rate), .test_ctrl(test_ctrl), .debug(debug_gpmc)); wire rx_sof = rx_data[32]; @@ -285,9 +288,8 @@ module u1e_core xfer_rate <= s0_dat_mosi; endcase // case (s0_adr[6:0]) - assign tx_enable = xfer_rate[15]; - assign rx_enable = xfer_rate[14]; - assign rate = xfer_rate[7:0]; + assign test_ctrl = xfer_rate[11:8]; + assign test_rate = xfer_rate[7:0]; assign { debug_led[3:0] } = ~{run_rx,run_tx,reg_leds[1:0]}; assign { cgen_sync_b, cgen_ref_sel } = reg_cgen_ctrl; |