#
#############################################################################################
#
# ZC702_base.xdc
#
# History:
#    2023/03/08 - LR -  Migrated from "Constraints Builder", Add silk screen and name doucmenting comments, and switches
#    2021/08/28 - WK - migrated from description for VMK180
#    2021/05/13 - NK - Initial version for 2021.1 - XDC for UED design using VMK180
#
#############################################################################################
#


##################################################################
#
#     Eight LEDs (GPIO_LEDs_linear) and PMOD headers J62 and J63
#
##################################################################
#
# LED0 DS19 *****ALSO***** PMOD J63.1
set_property PACKAGE_PIN E15 [get_ports {GPIO_LEDs_linear[0]}]
set_property IOSTANDARD LVCMOS25 [get_ports {GPIO_LEDs_linear[0]}]
set_property drive 12 [get_ports {GPIO_LEDs_linear[0]}]
set_property SLEW slow [get_ports {GPIO_LEDs_linear[0]}]
#
# LED1 DS20 *****ALSO***** PMOD J63.3
set_property PACKAGE_PIN D15 [get_ports {GPIO_LEDs_linear[1]}]
set_property IOSTANDARD LVCMOS25 [get_ports {GPIO_LEDs_linear[1]}]
#set_property drive 12 [get_ports {GPIO_LEDs_linear[1]}]
#set_property SLEW slow [get_ports {GPIO_LEDs_linear[1]}]
#
# LED2 DS21 *****ALSO***** PMOD J63.5
set_property PACKAGE_PIN W17 [get_ports {GPIO_LEDs_linear[2]}]
set_property IOSTANDARD LVCMOS25 [get_ports {GPIO_LEDs_linear[2]}]
#set_property drive 12 [get_ports {GPIO_LEDs_linear[2]}]
#set_property SLEW slow [get_ports {GPIO_LEDs_linear[2]}]
#
# LED3 DS22 *****ALSO***** PMOD J63.7
set_property PACKAGE_PIN W5 [get_ports {GPIO_LEDs_linear[3]}]
set_property IOSTANDARD LVCMOS25 [get_ports {GPIO_LEDs_linear[3]}]
#set_property drive 12 [get_ports {GPIO_LEDs_linear[3]}]
#set_property SLEW slow [get_ports {GPIO_LEDs_linear[3]}]
#
# LED4 DS18 *****ALSO***** PMOD J62.1
set_property PACKAGE_PIN V7 [get_ports {GPIO_LEDs_linear[4]}]
set_property IOSTANDARD LVCMOS25 [get_ports {GPIO_LEDs_linear[4]}]
#set_property drive 12 [get_ports {GPIO_LEDs_linear[4]}]
#set_property SLEW slow [get_ports {GPIO_LEDs_linear[4]}]
#
# LED5 DS17 *****ALSO***** PMOD J62.2
set_property PACKAGE_PIN W10 [get_ports {GPIO_LEDs_linear[5]}]
set_property IOSTANDARD LVCMOS25 [get_ports {GPIO_LEDs_linear[5]}]
#set_property drive 12 [get_ports {GPIO_LEDs_linear[5]}]
#set_property SLEW slow [get_ports {GPIO_LEDs_linear[5]}]
#
# LED6 DS16 *****ALSO***** PMOD J62.3
set_property PACKAGE_PIN P18 [get_ports {GPIO_LEDs_linear[6]}]
set_property IOSTANDARD LVCMOS25 [get_ports {GPIO_LEDs_linear[6]}]
#set_property drive 12 [get_ports {GPIO_LEDs_linear[6]}]
#set_property SLEW slow [get_ports {GPIO_LEDs_linear[6]}]
#
# LED7 DS15 *****ALSO***** PMOD J62.4
set_property PACKAGE_PIN P17 [get_ports {GPIO_LEDs_linear[7]}]
set_property IOSTANDARD LVCMOS25 [get_ports {GPIO_LEDs_linear[7]}]
#set_property drive 12 [get_ports {GPIO_LEDs_linear[7]}]
#set_property SLEW slow [get_ports {GPIO_LEDs_linear[7]}]


##################################################################
#
#              Four Pushbuttons (buttons_rosetta)
#
##################################################################
#
# SW5 - BTNL Left
set_property PACKAGE_PIN G19 [get_ports {buttons_rosetta[0]}]
set_property IOSTANDARD LVCMOS25 [get_ports {buttons_rosetta[0]}]
#
# SW7 - BTNR Right
set_property PACKAGE_PIN F19 [get_ports {buttons_rosetta[1]}]
set_property IOSTANDARD LVCMOS25 [get_ports {buttons_rosetta[1]}]
#
# SW13 - BTNC Center *****ALSO***** SW15.1 (Must be in OFF POSITION to use BUTTON) - PS_MIO14
# MIO14 PACKAGE_PIN B6 [get_ports {buttons_rosetta[2]}]
#
# SW14 - BTND Down *****ALSO***** SW15.2 (Must be in OFF POSITION to use BUTTON) - PS_MIO12
# MIO12 PACKAGE_PIN C5 [get_ports {buttons_rosetta[3]}]


##################################################################
#
#              Two DIP Switches (switches_linear)
#
##################################################################
#
# DIP0 SW12.2
set_property PACKAGE_PIN W6 [get_ports {switches_linear[0]}]
set_property IOSTANDARD LVCMOS25 [get_ports {switches_linear[0]}]
#
# DIP1 SW12.1
set_property PACKAGE_PIN W7 [get_ports {switches_linear[1]}]
set_property IOSTANDARD LVCMOS25 [get_ports {switches_linear[1]}]


#<copyright-disclaimer-start>
#<copyright-disclaimer-start>
#  **************************************************************************************************************
#  * © 2024 Advanced Micro Devices, Inc. All rights reserved.                                                   *
#  * DISCLAIMER                                                                                                 *
#  * The information contained herein is for informational purposes only, and is subject to change              *
#  * without notice. While every precaution has been taken in the preparation of this document, it              *
#  * may contain technical inaccuracies, omissions and typographical errors, and AMD is under no                *
#  * obligation to update or otherwise correct this information.  Advanced Micro Devices, Inc. makes            *
#  * no representations or warranties with respect to the accuracy or completeness of the contents of           *
#  * this document, and assumes no liability of any kind, including the implied warranties of noninfringement,  *
#  * merchantability or fitness for particular purposes, with respect to the operation or use of AMD            *
#  * hardware, software or other products described herein.  No license, including implied or                   *
#  * arising by estoppel, to any intellectual property rights is granted by this document.  Terms and           *
#  * limitations applicable to the purchase or use of AMD’s products are as set forth in a signed agreement     *
#  * between the parties or in AMD's Standard Terms and Conditions of Sale. GD-18                               *
#  *                                                                                                            *
#  **************************************************************************************************************
#<copyright-disclaimer-end>
#<copyright-disclaimer-end>
