basys3.xdc 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. create_clock -period 10.000 -name clk -waveform {0.000 5.000} [get_ports -filter { NAME =~ "clk" && DIRECTION == "IN" }]
  2. set_property PACKAGE_PIN W5 [get_ports clk]
  3. set_property IOSTANDARD LVCMOS33 [get_ports clk]
  4. set_property PACKAGE_PIN W4 [get_ports {ssel[3]}]
  5. set_property PACKAGE_PIN V4 [get_ports {ssel[2]}]
  6. set_property PACKAGE_PIN U4 [get_ports {ssel[1]}]
  7. set_property PACKAGE_PIN U2 [get_ports {ssel[0]}]
  8. set_property IOSTANDARD LVCMOS33 [get_ports {ssel[3]}]
  9. set_property IOSTANDARD LVCMOS33 [get_ports {ssel[2]}]
  10. set_property IOSTANDARD LVCMOS33 [get_ports {ssel[1]}]
  11. set_property IOSTANDARD LVCMOS33 [get_ports {ssel[0]}]
  12. set_property PACKAGE_PIN V7 [get_ports {seg[7]}]
  13. set_property PACKAGE_PIN U7 [get_ports {seg[6]}]
  14. set_property PACKAGE_PIN V5 [get_ports {seg[5]}]
  15. set_property PACKAGE_PIN U5 [get_ports {seg[4]}]
  16. set_property PACKAGE_PIN V8 [get_ports {seg[3]}]
  17. set_property PACKAGE_PIN U8 [get_ports {seg[2]}]
  18. set_property PACKAGE_PIN W6 [get_ports {seg[1]}]
  19. set_property PACKAGE_PIN W7 [get_ports {seg[0]}]
  20. set_property IOSTANDARD LVCMOS33 [get_ports {seg[7]}]
  21. set_property IOSTANDARD LVCMOS33 [get_ports {seg[6]}]
  22. set_property IOSTANDARD LVCMOS33 [get_ports {seg[5]}]
  23. set_property IOSTANDARD LVCMOS33 [get_ports {seg[4]}]
  24. set_property IOSTANDARD LVCMOS33 [get_ports {seg[3]}]
  25. set_property IOSTANDARD LVCMOS33 [get_ports {seg[2]}]
  26. set_property IOSTANDARD LVCMOS33 [get_ports {seg[1]}]
  27. set_property IOSTANDARD LVCMOS33 [get_ports {seg[0]}]
  28. set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
  29. set_property BITSTREAM.CONFIG.CONFIGRATE 33 [current_design]
  30. set_property CONFIG_MODE SPIx4 [current_design]