fix basys3 example
authorjapm48 <japm48@users.noreply.github.com>
Sun, 22 Jul 2018 20:29:31 +0000 (22:29 +0200)
committerjapm48 <japm48@users.noreply.github.com>
Sun, 22 Jul 2018 20:29:31 +0000 (22:29 +0200)
Added `CONFIG_VOLTAGE` and `CFGBVS` to constraints file
to avoid warning `DRC 23-20`.

Added `open_hw` needed for programming.

examples/basys3/example.xdc
examples/basys3/run_prog.tcl

index c1fd0e925ee9d745ab9bc031ecbd565f2ea7d2da..8cdaa19964e6b089a9f4f6d316dd6570c5ab32a2 100644 (file)
@@ -19,3 +19,6 @@ set_property -dict { IOSTANDARD LVCMOS33 PACKAGE_PIN L1  } [get_ports {LD[15]}]
 
 create_clock -add -name sys_clk_pin -period 10.00 -waveform {0 5} [get_ports CLK]
 
+set_property CONFIG_VOLTAGE 3.3 [current_design]
+set_property CFGBVS VCCO [current_design]
+
index d711af840e5e38cb9010403d4777a6807ef354cf..b078ad511131dcb1bc643f3b330370e29e8d0ba6 100644 (file)
@@ -1,3 +1,4 @@
+open_hw
 connect_hw_server
 open_hw_target [lindex [get_hw_targets] 0]
 set_property PROGRAM.FILE example.bit [lindex [get_hw_devices] 0]