First pass at incorporating the efabless LVS manager GUI into the

netgen distribution.  It sort of works, but not quite there yet.
This commit is contained in:
Tim Edwards
2018-05-01 14:07:16 -04:00
parent 02a77b61f9
commit 25ac57d103
21 changed files with 3240 additions and 283 deletions
+1
View File
@@ -34,6 +34,7 @@ netgen.tcl: netgen.tcl.in
netgen.sh: netgen.sh.in
sed -e 's%TCL_DIR%${TCLDIR}%g' \
-e 's%PY_DIR%${PYDIR}%g' \
-e 's%TCLLIB_DIR%${TCL_LIB_DIR}%g' \
-e 's%WISH_EXE%${WISH_EXE}%g' \
netgen.sh.in > netgen.sh
+7 -1
View File
@@ -14,6 +14,7 @@
TKCON=true
BATCH=
GUI=
NETGEN_WISH=WISH_EXE
export NETGEN_WISH
@@ -29,6 +30,7 @@ for i in "$@" ; do
case $i in
-noc*) TKCON=;;
-bat*) BATCH=true; TKCON=;;
-gui) GUI=true; TKCON=;;
*) arglist="$arglist${arglist:+ }\"${i//\"/\\\"}\"";;
esac
done
@@ -40,7 +42,10 @@ if [ $TKCON ]; then
-slave "package require Tk; set argc $#; set argv [list $arglist]; \
source TCL_DIR/netgen.tcl"
else
# Run the Python LVS manager GUI
elif [ $GUI ]; then
exec PY_DIR/lvs_manager.py $@
#
# Run the stand-in for wish (netgenexec), which acts exactly like "wish"
@@ -49,6 +54,7 @@ else
# capable of sourcing the startup script.
#
else
exec TCL_DIR/netgenexec -- "$@"
fi