aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/b200/S6CLK2PIN.v
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2013-10-10 10:17:27 -0700
committerBen Hilburn <ben.hilburn@ettus.com>2013-10-10 10:17:27 -0700
commit0df4b801a34697f2058b4a7b95e08d2a0576c9db (patch)
treebe10e78d1a97c037a9e7492360a178d1873b9c09 /fpga/usrp3/top/b200/S6CLK2PIN.v
parent6e7bc850b66e8188718248b76b729c7cf9c89700 (diff)
downloaduhd-0df4b801a34697f2058b4a7b95e08d2a0576c9db.tar.gz
uhd-0df4b801a34697f2058b4a7b95e08d2a0576c9db.tar.bz2
uhd-0df4b801a34697f2058b4a7b95e08d2a0576c9db.zip
Squashed B200 FPGA Source. Code from Josh Blum, Ian Buckley, and Matt Ettus.
Diffstat (limited to 'fpga/usrp3/top/b200/S6CLK2PIN.v')
-rw-r--r--fpga/usrp3/top/b200/S6CLK2PIN.v23
1 files changed, 23 insertions, 0 deletions
diff --git a/fpga/usrp3/top/b200/S6CLK2PIN.v b/fpga/usrp3/top/b200/S6CLK2PIN.v
new file mode 100644
index 000000000..a9d6332ef
--- /dev/null
+++ b/fpga/usrp3/top/b200/S6CLK2PIN.v
@@ -0,0 +1,23 @@
+module S6CLK2PIN
+(
+ input I,
+ output O
+);
+
+ ODDR2 #(
+ .DDR_ALIGNMENT("NONE"), // to "NONE", "C0" or "C1"
+ .INIT(1'b0), // output to 1'b0 or 1'b1
+ .SRTYPE("ASYNC")) // set/reset "SYNC" or "ASYNC"
+
+ ODDR2_S6CLK2PIN
+ (
+ .Q(O), // 1-bit DDR output data
+ .C0(I), // 1-bit clock input
+ .C1(~I), // 1-bit clock input
+ .CE(1'b1), // 1-bit clock enable input
+ .D0(1'b1), // 1-bit data input (associated with C0)
+ .D1(1'b0), // 1-bit data input (associated with C1)
+ .R(1'b0), // 1-bit reset input
+ .S(1'b0) );// 1-bit set input
+
+endmodule //S6CLK2PIN