mirror of
https://github.com/chipsalliance/f4pga-examples.git
synced 2025-01-03 03:43:38 -05:00
17 lines
602 B
Text
17 lines
602 B
Text
|
# 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 {led[0]}]
|
||
|
set_property PACKAGE_PIN J5 [get_ports {led[1]}]
|
||
|
set_property PACKAGE_PIN T9 [get_ports {led[2]}]
|
||
|
set_property PACKAGE_PIN T10 [get_ports {led[3]}]
|
||
|
set_property IOSTANDARD LVCOMOS33 [get_ports {led[0]}]
|
||
|
set_property IOSTANDARD LVCOMOS33 [get_ports {led[1]}]
|
||
|
set_property IOSTANDARD LVCOMOS33 [get_ports {led[2]}]
|
||
|
set_property IOSTANDARD LVCOMOS33 [get_ports {led[3]}]
|
||
|
|
||
|
# Clock constraints
|
||
|
create_clock -period 10.0 [get_ports {clk}]
|