Robustness improvement to nexys system gen script

Signed-off-by: Eric Matthews <ematthew@sfu.ca>
This commit is contained in:
Eric Matthews 2023-04-04 15:31:23 -04:00
parent 5876454ab7
commit 85d3f36194

View file

@ -45,6 +45,9 @@ set list_projs [get_projects -quiet]
if { $list_projs eq "" } {
create_project cva5-competition-baseline cva5-competition-baseline -part xc7a100tcsg324-1
set_property BOARD_PART digilentinc.com:nexys-a7-100t:part0:1.2 [current_project]
} else {
common::send_gid_msg -ssname BD::TCL -id 2100 -severity "ERROR" "Open project must be closed before running."
return -1
}