#!/bin/bash -f
xv_path="/opt/Xilinx/Vivado/2016.4"
ExecStep()
{
"$@"
RETVAL=$?
if [ $RETVAL -ne 0 ]
then
exit $RETVAL
fi
}
ExecStep $xv_path/bin/xsim vga_sprite_behav -key {Behavioral:sim_1:Functional:vga_sprite} -tclbatch vga_sprite.tcl -log simulate.log
