C
comp.cad.cadence
Guest
Oh, Graeme
I'm terribly sorry for that. I should have used "Mr. Bunyan" in my last
post.
As you predicted, I did find that there exist the shell files
"hercules_setup.csh" and "hercules_setup.sh" under the directory
"/syn/hercules". Also there's setup about the environment var of
"XKEYSYMDB" in these files. But I am still confused here.
I pick up all of setup involved with "avanti_home_dir" from the script
and paste them as below.
if [ ! "$avanti_home_dir" ]; then
avanti_home_dir="/cad/avanti/hercules"
export avanti_home_dir
fi
if [ -d "${avanti_home_dir}/bin" ]; then
PATH="$avanti_home_dir/bin:$PATH"
export PATH
fi
if [ ! "$HERCULES_HOME_DIR" ]; then
HERCULES_HOME_DIR=$avanti_home_dir
export HERCULES_HOME_DIR
fi
if [ -d "${HERCULES_HOME_DIR}/bin" ]; then
PATH="$PATH:$avanti_home_dir/bin"
export PATH
fi
.......
ACEAVANTI="yes"
if [ ! -d "${avanti_home_dir}" ]; then
ACEAVANTI="no"
fi
export ACEAVANTI
.......
if [ "$avanti_home_dir" ]; then
if [ -d "${avanti_home_dir}/bin" ]; then
wkdir=`pwd`; cd $avanti_home_dir; tmpdir=`pwd`
_vv=`echo $tmpdir | grep "2003"`
if [ ! "$_vv" ]; then
echo "**ACE50 WARNING** Hercules path
(\$avanti_home_dir):$avanti_home_dir is out-of-date"
else
echo "--ACE50 INFO -- Hercules path
(\$avanti_home_dir):$avanti_home_dir OK"
fi; cd $wkdir
else
echo "**ACE50 WARNING** Hercules path
(\$avanti_home_dir):$avanti_home_dir is NOT installed"
fi fi
Actually I didn't see the script source the hercules' setup anywhere. I
guess that the script never touched the hercules' setup files at all.
In our Unix system, the file "XKeysymDB" is located under
"/syn/hercules/lib-u/X11" whereas the script actually set the var
"XKEYSYMDB" to "/syn/hercules/lib/X11" after manually setting
"avanti_home_dir" to "/syn/hercules". It means somewhere there exists
some setting like this:
XKEYSYMDB=$avanti_home_dir/lib/X11/XKeysymDB ( However we dont have the
directory "/lib" there.)
The script essentially setup some environment vars for Cadence and then
invoke icfb. I just wonder why it also do some business with Hercules
in the same script. Does it inform that Syn and Cad are co-operating
with each other?
Thanks!
-Andy
I'm terribly sorry for that. I should have used "Mr. Bunyan" in my last
post.
As you predicted, I did find that there exist the shell files
"hercules_setup.csh" and "hercules_setup.sh" under the directory
"/syn/hercules". Also there's setup about the environment var of
"XKEYSYMDB" in these files. But I am still confused here.
I pick up all of setup involved with "avanti_home_dir" from the script
and paste them as below.
if [ ! "$avanti_home_dir" ]; then
avanti_home_dir="/cad/avanti/hercules"
export avanti_home_dir
fi
if [ -d "${avanti_home_dir}/bin" ]; then
PATH="$avanti_home_dir/bin:$PATH"
export PATH
fi
if [ ! "$HERCULES_HOME_DIR" ]; then
HERCULES_HOME_DIR=$avanti_home_dir
export HERCULES_HOME_DIR
fi
if [ -d "${HERCULES_HOME_DIR}/bin" ]; then
PATH="$PATH:$avanti_home_dir/bin"
export PATH
fi
.......
ACEAVANTI="yes"
if [ ! -d "${avanti_home_dir}" ]; then
ACEAVANTI="no"
fi
export ACEAVANTI
.......
if [ "$avanti_home_dir" ]; then
if [ -d "${avanti_home_dir}/bin" ]; then
wkdir=`pwd`; cd $avanti_home_dir; tmpdir=`pwd`
_vv=`echo $tmpdir | grep "2003"`
if [ ! "$_vv" ]; then
echo "**ACE50 WARNING** Hercules path
(\$avanti_home_dir):$avanti_home_dir is out-of-date"
else
echo "--ACE50 INFO -- Hercules path
(\$avanti_home_dir):$avanti_home_dir OK"
fi; cd $wkdir
else
echo "**ACE50 WARNING** Hercules path
(\$avanti_home_dir):$avanti_home_dir is NOT installed"
fi fi
Actually I didn't see the script source the hercules' setup anywhere. I
guess that the script never touched the hercules' setup files at all.
In our Unix system, the file "XKeysymDB" is located under
"/syn/hercules/lib-u/X11" whereas the script actually set the var
"XKEYSYMDB" to "/syn/hercules/lib/X11" after manually setting
"avanti_home_dir" to "/syn/hercules". It means somewhere there exists
some setting like this:
XKEYSYMDB=$avanti_home_dir/lib/X11/XKeysymDB ( However we dont have the
directory "/lib" there.)
The script essentially setup some environment vars for Cadence and then
invoke icfb. I just wonder why it also do some business with Hercules
in the same script. Does it inform that Syn and Cad are co-operating
with each other?
Thanks!
-Andy