Skip to content

Instantly share code, notes, and snippets.

@ScienceElectronicsFun
Created November 7, 2021 16:02
Show Gist options
  • Save ScienceElectronicsFun/11797406972ec950c161d57b6b605a37 to your computer and use it in GitHub Desktop.
Save ScienceElectronicsFun/11797406972ec950c161d57b6b605a37 to your computer and use it in GitHub Desktop.
Spartan 7 demo constraints
set_property CFGBVS VCCO [current_design]
set_property CONFIG_VOLTAGE 3.3 [current_design]
set_property -dict { PACKAGE_PIN V6 IOSTANDARD LVCMOS33 } [get_ports { led1 }]; #IO_L22N_T3_AD7N_35 Sch=led0_b
set_property -dict { PACKAGE_PIN V7 IOSTANDARD LVCMOS33 } [get_ports { led2 }]; #IO_L21P_T3_DQS_AD14P_35 Sch=led0_r
set_property -dict { PACKAGE_PIN V2 IOSTANDARD LVCMOS33 } [get_ports { button1 }]; #IO_L4N_T0_35 Sch=btn[0]
set_property -dict { PACKAGE_PIN V3 IOSTANDARD LVCMOS33 } [get_ports { button2 }]; #IO_L4P_T0_35 Sch=btn[1]
set_property -dict { PACKAGE_PIN V4 IOSTANDARD LVCMOS33 } [get_ports { button3 }]; #IO_L4N_T0_35 Sch=btn[0]
set_property -dict { PACKAGE_PIN V5 IOSTANDARD LVCMOS33 } [get_ports { button4 }]; #IO_L4P_T0_35 Sch=btn[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment