Commit 6dfbae58 authored by FENG CHANG's avatar FENG CHANG
Browse files

Changed the username

parent ada8b83b
......@@ -15,7 +15,7 @@ do
done
#set the top for spyglass. must be the first argument of the script.
echo "set_option top $N" >> /tmp/optionsspy
cp /home/develop/template_spyglass.prj /tmp/$N/$N.prj;
cp /home/bscuser/develop/template_spyglass.prj /tmp/$N/$N.prj;
cd /tmp/$N;
sed -i '/Data Import Section/ r /tmp/importspy' ./$N.prj;
sed -i '/Common Options Section/ r /tmp/optionsspy' ./$N.prj;
......
......@@ -7,29 +7,29 @@ EX="${FN#*.}"
#echo $N
#echo $EX
#cleanup in local and remote machines
rm -rf /tmp/importspy
rm -rf /tmp/optionsspy
ssh gcabo@epi03.bsc.es << EOF
rm -rf /tmp/$N
rm -rf /home/bscuser/tmp/importspy
rm -rf /home/bscuser/tmp/optionsspy
ssh fchang@epi03.bsc.es << EOF
rm -rf /tmp/fchang/$N
#make destination folder
mkdir /tmp/$N
mkdir /tmp/fchang/$N
exit
EOF
#copy files and set script
for var in "$@"
do
echo "read_file {./"$(basename -- $var)"}" >> /tmp/importspy
scp $var gcabo@epi03.bsc.es:/tmp/$N
echo "read_file {./"$(basename -- $var)"}" >> /home/bscuser/tmp/importspy
scp $var fchang@epi03.bsc.es:/tmp/fchang/$N
done
#set the top for spyglass. must be the first argument of the script.
echo "set_option top $N" >> /tmp/optionsspy
scp /tmp/importspy gcabo@epi03.bsc.es:/tmp
scp /tmp/optionsspy gcabo@epi03.bsc.es:/tmp
ssh gcabo@epi03.bsc.es << EOF
cp /users/gcabo/spyglass_template/template_spyglass.prj /tmp/$N/$N.prj;
cd /tmp/$N;
sed -i '/Data Import Section/ r /tmp/importspy' ./$N.prj;
sed -i '/Common Options Section/ r /tmp/optionsspy' ./$N.prj;
echo "set_option top $N" >> /home/bscuser/tmp/optionsspy
scp /home/bscuser/tmp/importspy fchang@epi03.bsc.es:/tmp/fchang
scp /home/bscuser/tmp/optionsspy fchang@epi03.bsc.es:/tmp/fchang
ssh fchang@epi03.bsc.es << EOF
cp /users/fchang/spyglass_template/template_spyglass.prj /tmp/fchang/$N/$N.prj;
cd /tmp/fchang/$N;
sed -i '/Data Import Section/ r /tmp/fchang/importspy' ./$N.prj;
sed -i '/Common Options Section/ r /tmp/fchang/optionsspy' ./$N.prj;
export SKIP_PLATFORM_CHECK=TRUE
. /eda/env.sh
#echo -e "exports\n";
......@@ -38,6 +38,6 @@ echo -e "run_goal lint/lint_rtl\nexit -save\n"| spyglass_main -shell -project $N
exit
EOF
echo -e "exit"
scp -r gcabo@epi03.bsc.es:/tmp/$N/$N ./
scp -r fchang@epi03.bsc.es:/tmp/fchang/$N/$N ./
echo -e "copy resuts"
#vim ./$N/consolidated_reports/lint_lint_rtl/moresimple.rpt
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment