summaryrefslogtreecommitdiffstats
path: root/usrp2/top/u1e/u1e.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-08-17 15:50:27 -0700
committerMatt Ettus <matt@ettus.com>2010-08-17 15:50:27 -0700
commit1d9d3dcc7b460e25881d182e74429f91cef31a50 (patch)
tree82e0a8d37ee9cc14e6a663d0e8795c471c80b686 /usrp2/top/u1e/u1e.v
parent3091759d3f6a69bc0c56f2101b7b775de443212a (diff)
downloaduhd-1d9d3dcc7b460e25881d182e74429f91cef31a50.tar.gz
uhd-1d9d3dcc7b460e25881d182e74429f91cef31a50.tar.bz2
uhd-1d9d3dcc7b460e25881d182e74429f91cef31a50.zip
delay the q channel to make the channels line up on the AD9862
Diffstat (limited to 'usrp2/top/u1e/u1e.v')
-rw-r--r--usrp2/top/u1e/u1e.v7
1 files changed, 6 insertions, 1 deletions
diff --git a/usrp2/top/u1e/u1e.v b/usrp2/top/u1e/u1e.v
index 523aae1b9..9536b5ced 100644
--- a/usrp2/top/u1e/u1e.v
+++ b/usrp2/top/u1e/u1e.v
@@ -99,6 +99,11 @@ module u1e
TXSYNC <= 1;
end
`else // !`ifdef DCM
+
+ reg[13:0] delay_q;
+ always @(posedge clk_fpga)
+ delay_q <= tx_q;
+
genvar i;
generate
for(i=0;i<14;i=i+1)
@@ -111,7 +116,7 @@ module u1e
.C1(~clk_fpga), // 1-bit clock input
.CE(1'b1), // 1-bit clock enable input
.D0(tx_i[i]), // 1-bit data input (associated with C0)
- .D1(tx_q[i]), // 1-bit data input (associated with C1)
+ .D1(delay_q[i]), // 1-bit data input (associated with C1)
.R(1'b0), // 1-bit reset input
.S(1'b0)); // 1-bit set input
end // block: gen_dacout