aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/sdr_lib/dsp_core_tx.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2011-06-03 16:18:48 -0700
committerMatt Ettus <matt@ettus.com>2011-06-08 10:55:22 -0700
commitd7a3b89d4f7fea444602b0f8ff52029b0efa835f (patch)
treea5346e4d573fd9791bbf672aec84f62342cb2214 /usrp2/sdr_lib/dsp_core_tx.v
parent8217bfcafbba769677ccf299c35fd4112dcb07a7 (diff)
downloaduhd-d7a3b89d4f7fea444602b0f8ff52029b0efa835f.tar.gz
uhd-d7a3b89d4f7fea444602b0f8ff52029b0efa835f.tar.bz2
uhd-d7a3b89d4f7fea444602b0f8ff52029b0efa835f.zip
dsp: added tx_frontend, instantiated in u2/u2p
Diffstat (limited to 'usrp2/sdr_lib/dsp_core_tx.v')
-rw-r--r--usrp2/sdr_lib/dsp_core_tx.v20
1 files changed, 4 insertions, 16 deletions
diff --git a/usrp2/sdr_lib/dsp_core_tx.v b/usrp2/sdr_lib/dsp_core_tx.v
index 58bd82f6e..66dcee261 100644
--- a/usrp2/sdr_lib/dsp_core_tx.v
+++ b/usrp2/sdr_lib/dsp_core_tx.v
@@ -21,8 +21,7 @@ module dsp_core_tx
(input clk, input rst,
input set_stb, input [7:0] set_addr, input [31:0] set_data,
- output reg [15:0] dac_a,
- output reg [15:0] dac_b,
+ output [23:0] tx_i, output [23:0] tx_q,
// To tx_control
input [31:0] sample,
@@ -148,20 +147,9 @@ module dsp_core_tx
.CE(1), // Clock enable input
.R(rst) // Synchronous reset input
);
-
- always @(posedge clk)
- case(dacmux_a)
- 0 : dac_a <= prod_i[28:13];
- 1 : dac_a <= prod_q[28:13];
- default : dac_a <= 0;
- endcase // case(dacmux_a)
-
- always @(posedge clk)
- case(dacmux_b)
- 0 : dac_b <= prod_i[28:13];
- 1 : dac_b <= prod_q[28:13];
- default : dac_b <= 0;
- endcase // case(dacmux_b)
+
+ assign tx_i = prod_i[28:5];
+ assign tx_q = prod_q[28:5];
assign debug = {strobe_cic, strobe_hb1, strobe_hb2,run};