summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2011-01-06 11:07:30 -0800
committerMatt Ettus <matt@ettus.com>2011-06-07 14:42:58 -0700
commite7eb44d5abc1021972c07c4b867c98c8223eca2b (patch)
tree2d6e9fb1ef9d72a455a99e0afe628393193c3d3c
parent795969261ce4abdc4e58ca0ca61900b3227779d9 (diff)
downloaduhd-e7eb44d5abc1021972c07c4b867c98c8223eca2b.tar.gz
uhd-e7eb44d5abc1021972c07c4b867c98c8223eca2b.tar.bz2
uhd-e7eb44d5abc1021972c07c4b867c98c8223eca2b.zip
first cut at using lvds for adc pins
-rw-r--r--usrp2/top/u2plus/capture_ddrlvds.v4
-rw-r--r--usrp2/top/u2plus/u2plus.v1
2 files changed, 3 insertions, 2 deletions
diff --git a/usrp2/top/u2plus/capture_ddrlvds.v b/usrp2/top/u2plus/capture_ddrlvds.v
index b9f53ff8c..ff1b586e2 100644
--- a/usrp2/top/u2plus/capture_ddrlvds.v
+++ b/usrp2/top/u2plus/capture_ddrlvds.v
@@ -16,13 +16,13 @@ module capture_ddrlvds
wire [(2*WIDTH)-1:0] out_pre1;
reg [(2*WIDTH)-1:0] out_pre2;
- IBUFGDS #(.IOSTANDARD("LVDS_25"),.DIFF_TERM("TRUE")) clkbuf (.O(ssclk), .I(ssclk_p), .IB(ssclk_n));
+ IBUFGDS #(.IOSTANDARD("LVDS_33"),.DIFF_TERM("TRUE")) clkbuf (.O(ssclk), .I(ssclk_p), .IB(ssclk_n));
genvar i;
generate
for(i = 0; i < WIDTH; i = i + 1)
begin : gen_lvds_pins
- IBUFDS #(.IOSTANDARD("LVDS_25"),.DIFF_TERM("TRUE")) ibufds
+ IBUFDS #(.IOSTANDARD("LVDS_33"),.DIFF_TERM("TRUE")) ibufds
(.O(ddr_dat[i]), .I(in_p[i]), .IB(in_n[i]) );
IDDR2 #(.DDR_ALIGNMENT("C1")) iddr2
(.Q0(out_pre1[2*i]), .Q1(out_pre1[(2*i)+1]), .C0(ssclk), .C1(~ssclk),
diff --git a/usrp2/top/u2plus/u2plus.v b/usrp2/top/u2plus/u2plus.v
index 7c2270df6..eb99de86c 100644
--- a/usrp2/top/u2plus/u2plus.v
+++ b/usrp2/top/u2plus/u2plus.v
@@ -1,4 +1,5 @@
`timescale 1ns / 1ps
+`define LVDS 1
//`define DCM_FOR_RAMCLK
//////////////////////////////////////////////////////////////////////////////////