| 1 |
# bladeRF Micro Design Constraints File |
| 2 |
# |
| 3 |
# Copyright (c) 2013-2017 Nuand LLC |
| 4 |
# |
| 5 |
# Permission is hereby granted, free of charge, to any person obtaining a copy |
| 6 |
# of this software and associated documentation files (the "Software"), to deal |
| 7 |
# in the Software without restriction, including without limitation the rights |
| 8 |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 9 |
# copies of the Software, and to permit persons to whom the Software is |
| 10 |
# furnished to do so, subject to the following conditions: |
| 11 |
# |
| 12 |
# The above copyright notice and this permission notice shall be included in |
| 13 |
# all copies or substantial portions of the Software. |
| 14 |
# |
| 15 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 16 |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 17 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 18 |
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 19 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 20 |
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 21 |
# THE SOFTWARE. |
| 22 |
|
| 23 |
# Clock inputs |
| 24 |
create_clock -period "38.4 MHz" [get_ports c5_clock2] |
| 25 |
create_clock -period "250.0 MHz" [get_ports adi_rx_clock] |
| 26 |
|
| 27 |
# Generate the appropriate PLL clocks |
| 28 |
derive_pll_clocks |
| 29 |
derive_clock_uncertainty |
| 30 |
|
| 31 |
# Platform-specific clock aliases |
| 32 |
set fx3_clock {U_fx3_pll|altera_pll_i|general[0].gpll~PLL_OUTPUT_COUNTER|divclk} |
| 33 |
set system_clock {U_system_pll|altera_pll_i|general[0].gpll~PLL_OUTPUT_COUNTER|divclk} |
| 34 |
|
| 35 |
# Trace delays between AD9361 and FPGA (bladeRF Micro) |
| 36 |
set adi_spi_clk_trace_delay 0.127 |
| 37 |
set adi_spi_di_trace_delay 0.168 |
| 38 |
set adi_spi_do_trace_delay 0.119 |
| 39 |
set adi_spi_enb_trace_delay 0.137 |
| 40 |
|
| 41 |
# Trace delays between FX3 and FPGA (bladeRF Micro) |
| 42 |
set fx3_data_trace_delay 0.260 |
| 43 |
set fx3_sclk_trace_delay 0.000 |
| 44 |
set fx3_dclk_trace_delay 0.226 |
| 45 |
|
| 46 |
# Trace delays between ADF4002 and FPGA (bladeRF Micro) |
| 47 |
set adf_spi_clk_trace_delay 0.383 |
| 48 |
set adf_spi_data_trace_delay 0.373 |
| 49 |
set adf_spi_le_trace_delay 0.311 |
| 50 |
|
| 51 |
# Trace delays between AD5621 and FPGA (bladeRF Micro) |
| 52 |
set dac_spi_sclk_trace_delay 0.164 |
| 53 |
set dac_spi_sdin_trace_delay 0.181 |
| 54 |
set dac_spi_nsync_trace_delay 0.193 |
| 55 |
|
| 56 |
# First flop synchronizer false path |
| 57 |
set_false_path -from [get_registers {*source_holding[*]}] -to * |
| 58 |
|
| 59 |
# Slow Interfaces |
| 60 |
set_false_path -from * -to [get_ports ps_sync_1p*] |
| 61 |
set_false_path -from * -to [get_ports {rx_bias_en tx_bias_en}] |
| 62 |
set_false_path -from * -to [get_ports {exp_gpio[*] exp_clock_oe}] |
| 63 |
set_false_path -from * -to [get_ports adf_ce] |
| 64 |
set_false_path -from * -to [get_ports led*] |
| 65 |
set_false_path -from * -to [get_ports {adi_*x_spdt*_v*}] |
| 66 |
set_false_path -from * -to [get_ports si_clock_sel] |
| 67 |
set_false_path -from * -to [get_ports ufl_clock_oe] |
| 68 |
set_false_path -from adf_muxout -to * |
| 69 |
set_false_path -from exp_clock_req -to * |
| 70 |
set_false_path -from exp_present -to * |
| 71 |
set_false_path -from pwr_status -to * |
| 72 |
|
| 73 |
# JTAG settings |
| 74 |
set_clock_groups -exclusive -group [get_clocks altera_reserved_tck] |
| 75 |
set_input_delay -clock [get_clocks altera_reserved_tck] 2.0 [get_ports altera_reserved_tdi] |
| 76 |
set_input_delay -clock [get_clocks altera_reserved_tck] 2.0 [get_ports altera_reserved_tms] |
| 77 |
set_output_delay -clock [get_clocks altera_reserved_tck] 2.0 [get_ports altera_reserved_tdo] |
| 78 |
|
| 79 |
# Exceptions |
| 80 |
|
| 81 |
# The TX dcfifo aclr (TX clock) has recovery violation going to the write clock domain (PCLK) |
| 82 |
# The DCFIFO documentation says to false path aclr-->rdclk, but we need to do it to wrclk. |
| 83 |
# Has not been an issue so far, so probably safe? |
| 84 |
# With the LVDS cores, the TX PLL clock got merged with the RX PLL clock |
| 85 |
set_false_path -from {reset_synchronizer:U_reset_sync_rx|sync} -to {tx:U_tx|tx_*fifo*common_dcfifo*dffpipe_3dc:wraclr|dffe12a[0]} |
| 86 |
set_false_path -from {reset_synchronizer:U_reset_sync_rx|sync} -to {tx:U_tx|tx_*fifo*common_dcfifo*dffpipe_3dc:wraclr|dffe13a[0]} |
| 87 |
set_false_path -from {reset_synchronizer:U_reset_sync_tx|sync} -to {tx:U_tx|tx_*fifo*common_dcfifo*dffpipe_3dc:wraclr|dffe12a[0]} |
| 88 |
set_false_path -from {reset_synchronizer:U_reset_sync_tx|sync} -to {tx:U_tx|tx_*fifo*common_dcfifo*dffpipe_3dc:wraclr|dffe13a[0]} |
| 89 |
|
| 90 |
# False path between hold_time and compare_time due to the way the FSM is setup |
| 91 |
set_false_path -from {*x_tamer|hold_time[*]} -to {*x_tamer|compare_time[*]} |
| 92 |
|
| 93 |
# Mini Expansion Port (J51) |
| 94 |
set_false_path -from [get_ports mini_exp*] -to * |
| 95 |
set_false_path -from * -to [get_ports mini_exp*] |