2023-07-10 08:38:46 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2019-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
2019-02-28 13:14:36 +00:00
|
|
|
|
|
|
|
# constraints
|
|
|
|
|
|
|
|
set_property -dict {PACKAGE_PIN L19 IOSTANDARD LVCMOS12} [get_ports sys_rst]
|
|
|
|
|
|
|
|
# clocks
|
|
|
|
|
2019-11-22 15:46:23 +00:00
|
|
|
set_property -dict {PACKAGE_PIN AW26 IOSTANDARD LVDS} [get_ports sys_clk_p]
|
|
|
|
set_property -dict {PACKAGE_PIN AW27 IOSTANDARD LVDS} [get_ports sys_clk_n]
|
2019-02-28 13:14:36 +00:00
|
|
|
|
|
|
|
# ethernet
|
|
|
|
|
|
|
|
set_property PACKAGE_PIN AU21 [get_ports phy_tx_p]
|
|
|
|
set_property PACKAGE_PIN AV21 [get_ports phy_tx_n]
|
|
|
|
set_property PACKAGE_PIN AU24 [get_ports phy_rx_p]
|
|
|
|
set_property PACKAGE_PIN AV24 [get_ports phy_rx_n]
|
|
|
|
|
2022-02-14 10:54:25 +00:00
|
|
|
set_property -dict {PACKAGE_PIN AT22 IOSTANDARD LVDS DIFF_TERM_ADV TERM_100} [get_ports phy_clk_p]
|
|
|
|
set_property -dict {PACKAGE_PIN AU22 IOSTANDARD LVDS DIFF_TERM_ADV TERM_100} [get_ports phy_clk_n]
|
2019-02-28 13:14:36 +00:00
|
|
|
|
|
|
|
set_property -dict {PACKAGE_PIN BA21 IOSTANDARD LVCMOS18} [get_ports phy_rst_n]
|
|
|
|
set_property -dict {PACKAGE_PIN AV23 IOSTANDARD LVCMOS18} [get_ports mdio_mdc]
|
|
|
|
set_property -dict {PACKAGE_PIN AR23 IOSTANDARD LVCMOS18} [get_ports mdio_mdio]
|
|
|
|
|
|
|
|
set_false_path -through [get_nets phy_rst_n]
|
|
|
|
|
|
|
|
# uart
|
|
|
|
|
|
|
|
set_property -dict {PACKAGE_PIN AW25 IOSTANDARD LVCMOS18} [get_ports uart_sin]
|
|
|
|
set_property -dict {PACKAGE_PIN BB21 IOSTANDARD LVCMOS18} [get_ports uart_sout]
|
|
|
|
|
|
|
|
set_property -dict {PACKAGE_PIN B17 IOSTANDARD LVCMOS12} [get_ports gpio_bd[0]] ; ## GPIO_DIP_SW0
|
|
|
|
set_property -dict {PACKAGE_PIN G16 IOSTANDARD LVCMOS12} [get_ports gpio_bd[1]] ; ## GPIO_DIP_SW1
|
|
|
|
set_property -dict {PACKAGE_PIN J16 IOSTANDARD LVCMOS12} [get_ports gpio_bd[2]] ; ## GPIO_DIP_SW2
|
|
|
|
set_property -dict {PACKAGE_PIN D21 IOSTANDARD LVCMOS12} [get_ports gpio_bd[3]] ; ## GPIO_DIP_SW3
|
|
|
|
set_property -dict {PACKAGE_PIN BD23 IOSTANDARD LVCMOS18} [get_ports gpio_bd[4]] ; ## GPIO_PB_0
|
|
|
|
set_property -dict {PACKAGE_PIN BF22 IOSTANDARD LVCMOS18} [get_ports gpio_bd[5]] ; ## GPIO_PB_1
|
|
|
|
set_property -dict {PACKAGE_PIN BE22 IOSTANDARD LVCMOS18} [get_ports gpio_bd[6]] ; ## GPIO_PB_2
|
|
|
|
set_property -dict {PACKAGE_PIN BE23 IOSTANDARD LVCMOS18} [get_ports gpio_bd[7]] ; ## GPIO_PB_3
|
|
|
|
set_property -dict {PACKAGE_PIN BB24 IOSTANDARD LVCMOS18} [get_ports gpio_bd[8]] ; ## GPIO_PB_4
|
|
|
|
set_property -dict {PACKAGE_PIN AT32 IOSTANDARD LVCMOS12} [get_ports gpio_bd[9]] ; ## GPIO_LED_0_LS
|
|
|
|
set_property -dict {PACKAGE_PIN AV34 IOSTANDARD LVCMOS12} [get_ports gpio_bd[10]] ; ## GPIO_LED_1_LS
|
|
|
|
set_property -dict {PACKAGE_PIN AY30 IOSTANDARD LVCMOS12} [get_ports gpio_bd[11]] ; ## GPIO_LED_2_LS
|
|
|
|
set_property -dict {PACKAGE_PIN BB32 IOSTANDARD LVCMOS12} [get_ports gpio_bd[12]] ; ## GPIO_LED_3_LS
|
|
|
|
set_property -dict {PACKAGE_PIN BF32 IOSTANDARD LVCMOS12} [get_ports gpio_bd[13]] ; ## GPIO_LED_4_LS
|
|
|
|
set_property -dict {PACKAGE_PIN AU37 IOSTANDARD LVCMOS12} [get_ports gpio_bd[14]] ; ## GPIO_LED_5_LS
|
|
|
|
set_property -dict {PACKAGE_PIN AV36 IOSTANDARD LVCMOS12} [get_ports gpio_bd[15]] ; ## GPIO_LED_6_LS
|
|
|
|
set_property -dict {PACKAGE_PIN BA37 IOSTANDARD LVCMOS12} [get_ports gpio_bd[16]] ; ## GPIO_LED_7_LS
|
|
|
|
|
|
|
|
# iic
|
|
|
|
|
|
|
|
set_property -dict {PACKAGE_PIN AL25 IOSTANDARD LVCMOS18} [get_ports iic_rstn]
|
|
|
|
set_property -dict {PACKAGE_PIN AM24 IOSTANDARD LVCMOS18 DRIVE 8 SLEW SLOW} [get_ports iic_scl]
|
|
|
|
set_property -dict {PACKAGE_PIN AL24 IOSTANDARD LVCMOS18 DRIVE 8 SLEW SLOW} [get_ports iic_sda]
|
|
|
|
|
2019-05-30 08:16:35 +00:00
|
|
|
# Create SPI clock
|
|
|
|
create_generated_clock -name spi_clk \
|
|
|
|
-source [get_pins i_system_wrapper/system_i/axi_spi/ext_spi_clk] \
|
|
|
|
-divide_by 2 [get_pins i_system_wrapper/system_i/axi_spi/sck_o]
|
2019-09-09 11:41:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Balance clocks
|
|
|
|
#
|
|
|
|
# Minimize skew on synchronous CDC timing paths between clocks originating
|
|
|
|
# from the same MMCM source. (sys_mem_clk and sys_cpu_clk)
|
|
|
|
# This is required mostly by the smart interconnect.
|
|
|
|
# Property must be applied directly to the output net of BUFGs.
|
|
|
|
set_property CLOCK_DELAY_GROUP BALANCE_CLOCKS \
|
|
|
|
[list [get_nets [get_property PARENT [get_nets {i_system_wrapper/system_i/sys_cpu_clk}]]] \
|
|
|
|
[get_nets [get_property PARENT [get_nets {i_system_wrapper/system_i/sys_mem_clk}]]] \
|
|
|
|
]
|
|
|
|
|