set_property -dict {PACKAGE_PIN R4 IOSTANDARD LVCMOS33} [get_ports {hardware_clk}]
# create_clock -period 10.000 -name CLOCK -waveform {0.000 5.000} [get_ports {hardware_clk}]

set_property -dict {PACKAGE_PIN B22 IOSTANDARD LVCMOS33} [get_ports {hardware_reset}]

set_property -dict {PACKAGE_PIN V2 IOSTANDARD LVCMOS33} [get_ports {clock_locked}]

# a
set_property -dict {PACKAGE_PIN N2 IOSTANDARD LVCMOS33} [get_ports {bcd_control[0]}]
# b
set_property -dict {PACKAGE_PIN P5 IOSTANDARD LVCMOS33} [get_ports {bcd_control[1]}]
set_property -dict {PACKAGE_PIN V5 IOSTANDARD LVCMOS33} [get_ports {bcd_control[2]}]
set_property -dict {PACKAGE_PIN U5 IOSTANDARD LVCMOS33} [get_ports {bcd_control[3]}]
set_property -dict {PACKAGE_PIN T5 IOSTANDARD LVCMOS33} [get_ports {bcd_control[4]}]
set_property -dict {PACKAGE_PIN P1 IOSTANDARD LVCMOS33} [get_ports {bcd_control[5]}]
set_property -dict {PACKAGE_PIN W4 IOSTANDARD LVCMOS33} [get_ports {bcd_control[6]}]
set_property -dict {PACKAGE_PIN V3 IOSTANDARD LVCMOS33} [get_ports {bcd_control[7]}]
# AN0, the first at the right
set_property -dict {PACKAGE_PIN Y3 IOSTANDARD LVCMOS33} [get_ports {bcd_control[8]}]
set_property -dict {PACKAGE_PIN R1 IOSTANDARD LVCMOS33} [get_ports {bcd_control[9]}]
set_property -dict {PACKAGE_PIN P2 IOSTANDARD LVCMOS33} [get_ports {bcd_control[10]}]
set_property -dict {PACKAGE_PIN M2 IOSTANDARD LVCMOS33} [get_ports {bcd_control[11]}]
