-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy patharty.xdc
33 lines (28 loc) · 1.08 KB
/
arty.xdc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Clock pin
set_property PACKAGE_PIN E3 [get_ports CLK]
set_property IOSTANDARD LVCMOS33 [get_ports CLK]
# LEDs
set_property PACKAGE_PIN H5 [get_ports LEDS[0]]
set_property PACKAGE_PIN J5 [get_ports LEDS[1]]
set_property PACKAGE_PIN T9 [get_ports LEDS[2]]
set_property PACKAGE_PIN T10 [get_ports LEDS[3]]
set_property IOSTANDARD LVCMOS33 [get_ports LEDS[0]]
set_property IOSTANDARD LVCMOS33 [get_ports LEDS[1]]
set_property IOSTANDARD LVCMOS33 [get_ports LEDS[2]]
set_property IOSTANDARD LVCMOS33 [get_ports LEDS[3]]
set_false_path -to [get_ports LEDS[0]]
set_false_path -to [get_ports LEDS[1]]
set_false_path -to [get_ports LEDS[2]]
set_false_path -to [get_ports LEDS[3]]
# Clock constraints
create_clock -period 10.0 [get_ports CLK]
# UART
set_property LOC D10 [get_ports TXD]
set_property IOSTANDARD LVCMOS33 [get_ports TXD]
set_false_path -to [get_ports TXD]
# set_property LOC A9 [get_ports RXD]
# set_property IOSTANDARD LVCMOS33 [get_ports RXD]
# reset button
set_property LOC C2 [get_ports RESET]
set_property IOSTANDARD LVCMOS33 [get_ports RESET]
set_false_path -from [get_ports RESET]