#!/bin/bash -f # **************************************************************************** # Vivado (TM) v2018.2 (64-bit) # # Filename : compile.sh # Simulator : Xilinx Vivado Simulator # Description : Script for compiling the simulation design source files # # Generated by Vivado on Mon May 15 12:53:49 CEST 2023 # SW Build 2258646 on Thu Jun 14 20:02:38 MDT 2018 # # Copyright 1986-2018 Xilinx, Inc. All Rights Reserved. # # usage: compile.sh # # **************************************************************************** ExecStep() { "$@" RETVAL=$? if [ $RETVAL -ne 0 ] then exit $RETVAL fi } echo "xvhdl --incr --relax -prj Test_Alu_vhdl.prj" ExecStep xvhdl --incr --relax -prj Test_Alu_vhdl.prj 2>&1 | tee -a compile.log