aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/b200/timing.ucf
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/timing.ucf
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/timing.ucf')
-rw-r--r--fpga/usrp3/top/b200/timing.ucf40
1 files changed, 40 insertions, 0 deletions
diff --git a/fpga/usrp3/top/b200/timing.ucf b/fpga/usrp3/top/b200/timing.ucf
new file mode 100644
index 000000000..e21d4cb1a
--- /dev/null
+++ b/fpga/usrp3/top/b200/timing.ucf
@@ -0,0 +1,40 @@
+
+# codec_main_clk is 40 MHz main tcxo clock
+NET "codec_main_clk*" TNM_NET = "codec_main_clk";
+TIMESPEC "TS_codec_main_clk" = PERIOD "codec_main_clk" 25000 ps HIGH 50 %;
+
+
+# IFCLK is 100 MHz GPIF clock
+NET "IFCLK" TNM_NET = "IFCLK";
+TIMESPEC "TS_IFCLK" = PERIOD "IFCLK" 10000 ps HIGH 50 %;
+
+
+# codec_data_clk is the data clock from catalina, sample rate dependent
+# this clock equals sample rate in CMOS DDR 1R1T mode
+# this clock is double the sample rate in CMOS DDR 2R2T mode
+# Max clock rate is 61.44 MHz
+NET "codec_data_clk_p" TNM_NET = "codec_data_clk_p";
+TIMESPEC "TS_codec_data_clk_p" = PERIOD "codec_data_clk_p" 16276 ps HIGH 50 %;
+
+#always use IOB for GPIF pins for awesome timing
+INST "GPIF_*" IOB = TRUE;
+
+#low speed misc output group
+INST "SFDX*" TNM = ls_misc_out;
+INST "SRX*" TNM = ls_misc_out;
+INST "LED_*" TNM = ls_misc_out;
+INST "tx_enable*" TNM = ls_misc_out;
+INST "tx_bandsel_*" TNM = ls_misc_out;
+INST "rx_bandsel_*" TNM = ls_misc_out;
+INST "ref_sel" TNM = ls_misc_out;
+INST "*_ce" TNM = ls_misc_out;
+INST "*_miso" TNM = ls_misc_out;
+INST "*_mosi" TNM = ls_misc_out;
+INST "*_sclk" TNM = ls_misc_out;
+INST "gps_*" TNM = ls_misc_out;
+INST "FPGA_*D0" TNM = ls_misc_out;
+
+#constrain the misc IOs to the bus clock
+NET "bus_clk" TNM_NET = "bus_clk";
+TIMESPEC "TS_bus_clk" = PERIOD "bus_clk" 10 ns HIGH 50 %;
+TIMEGRP "ls_misc_out" OFFSET = OUT 15 ns AFTER "bus_clk" RISING;