#!/bin/bash

# 
# Vivado(TM)
# runme.sh: a Vivado-generated Runs Script for UNIX
# Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
# Copyright 2022-2025 Advanced Micro Devices, Inc. All Rights Reserved.
# 

if [ -z "$PATH" ]; then
  PATH=/proj/xbuilds/SWIP/2025.2_1114_2157/installs/lin64/2025.2/Vitis/bin:/proj/xbuilds/SWIP/2025.2_1114_2157/installs/lin64/2025.2/Vivado/ids_lite/ISE/bin/lin64:/proj/xbuilds/SWIP/2025.2_1114_2157/installs/lin64/2025.2/Vivado/bin
else
  PATH=/proj/xbuilds/SWIP/2025.2_1114_2157/installs/lin64/2025.2/Vitis/bin:/proj/xbuilds/SWIP/2025.2_1114_2157/installs/lin64/2025.2/Vivado/ids_lite/ISE/bin/lin64:/proj/xbuilds/SWIP/2025.2_1114_2157/installs/lin64/2025.2/Vivado/bin:$PATH
fi
export PATH

if [ -z "$LD_LIBRARY_PATH" ]; then
  LD_LIBRARY_PATH=
else
  LD_LIBRARY_PATH=:$LD_LIBRARY_PATH
fi
export LD_LIBRARY_PATH

HD_PWD='/scratch/shabbirk/scu35-io-trd/hw/project/scu35_io_design.runs/scu35_io_design_mdm_1_0_synth_1'
cd "$HD_PWD"

HD_LOG=runme.log
/bin/touch $HD_LOG

ISEStep="./ISEWrap.sh"
EAStep()
{
     $ISEStep $HD_LOG "$@" >> $HD_LOG 2>&1
     if [ $? -ne 0 ]
     then
         exit
     fi
}

EAStep vivado -log scu35_io_design_mdm_1_0.vds -m64 -product Vivado -mode batch -messageDb vivado.pb -notrace -source scu35_io_design_mdm_1_0.tcl
