1
0
mirror of https://github.com/Klagarge/Cursor.git synced 2024-11-26 19:23:27 +00:00
Cursor/eln_cursor.bash

33 lines
1021 B
Bash
Raw Normal View History

2021-11-24 09:50:51 +00:00
#!/bin/bash
#===============================================================================
# eln_labs.bash
# Starts HDL designer based on the generic hdlDesigner.bash
#
design_name=`basename $0 .bash`
design_directory=`dirname ${BASH_SOURCE[0]}`
hdl_script_name="$design_directory/../Scripts/hdlDesigner.bash"
export HEI_LIBS_DIR=/media/hei-students/SYND/Ele_2131/ELN/Labs/Libraries
verbose=1
SEPARATOR='--------------------------------------------------------------------------------'
INDENT=' '
#-------------------------------------------------------------------------------
# Main script
#
if [ -n "$verbose" ] ; then
echo "$SEPARATOR"
echo "Launching HDL Designer"
echo "${INDENT}Design name is $design_name"
echo "${INDENT}Start directory is $design_directory"
echo "${INDENT}HDL designer script is $hdl_script_name"
fi
#-------------------------------------------------------------------------------
# Launch application
#
$hdl_script_name -v -d $design_directory -n $design_name