######################################################
#
# XPS Tcl API script generated by PlanAhead
#
######################################################

proc _main_ {} {
  cd "C:/a_RefDesign/RD5_ZED_V00_02/Design_Files/top.srcs/sources_1/edk/arm_system"
  if { [ catch {xload xmp arm_system.xmp} result ] } {
    exit 10
  }
  run drc
  return $result
}

# Run DRC
if { [catch {_main_} result] } {
  exit -1
}

# Check return status and exit
if { [string length $result] == 0 } {
  exit 0
} else {
  exit $result
}
