diff options
author | Matt Ettus <matt@ettus.com> | 2011-06-03 16:18:48 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2011-06-08 10:55:22 -0700 |
commit | d7a3b89d4f7fea444602b0f8ff52029b0efa835f (patch) | |
tree | a5346e4d573fd9791bbf672aec84f62342cb2214 /usrp2/top/N2x0 | |
parent | 8217bfcafbba769677ccf299c35fd4112dcb07a7 (diff) | |
download | uhd-d7a3b89d4f7fea444602b0f8ff52029b0efa835f.tar.gz uhd-d7a3b89d4f7fea444602b0f8ff52029b0efa835f.tar.bz2 uhd-d7a3b89d4f7fea444602b0f8ff52029b0efa835f.zip |
dsp: added tx_frontend, instantiated in u2/u2p
Diffstat (limited to 'usrp2/top/N2x0')
-rw-r--r-- | usrp2/top/N2x0/u2plus_core.v | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/usrp2/top/N2x0/u2plus_core.v b/usrp2/top/N2x0/u2plus_core.v index 899ee472b..6154a9926 100644 --- a/usrp2/top/N2x0/u2plus_core.v +++ b/usrp2/top/N2x0/u2plus_core.v @@ -687,6 +687,8 @@ module u2plus_core .debug(debug_extfifo), .debug2(debug_extfifo2) ); + wire [23:0] tx_i, tx_q; + vita_tx_chain #(.BASE_CTRL(SR_TX_CTRL), .BASE_DSP(SR_TX_DSP), .REPORT_ERROR(1), .DO_FLOW_CONTROL(1), .PROT_ENG_FLAGS(1), .USE_TRANS_HEADER(1), @@ -697,10 +699,16 @@ module u2plus_core .vita_time(vita_time), .tx_data_i(tx_data), .tx_src_rdy_i(tx_src_rdy), .tx_dst_rdy_o(tx_dst_rdy), .err_data_o(tx_err_data), .err_src_rdy_o(tx_err_src_rdy), .err_dst_rdy_i(tx_err_dst_rdy), - .dac_a(dac_a),.dac_b(dac_b), + .tx_i(tx_i),.tx_q(tx_q), .underrun(underrun), .run(run_tx), .debug(debug_vt)); - + + tx_frontend #(.BASE(SR_TX_FRONT)) tx_frontend + (.clk(dsp_clk), .rst(dsp_rst), + .set_stb(set_stb_dsp),.set_addr(set_addr_dsp),.set_data(set_data_dsp), + .tx_i(tx_i), .tx_q(tx_q), .run(1'b1), + .dac_a(dac_a), .dac_b(dac_b)); + // /////////////////////////////////////////////////////////////////////////////////// // SERDES |