OpenCores
URL https://opencores.org/ocsvn/s1_core/s1_core/trunk

Subversion Repositories s1_core

[/] [s1_core/] [trunk/] [tools/] [bin/] [update_sparccore] - Diff between revs 105 and 109

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 105 Rev 109
Line 13... Line 13...
  echo "NOTE: To run this script you MUST have the OpenSPARC T1 environment unpacked";
  echo "NOTE: To run this script you MUST have the OpenSPARC T1 environment unpacked";
  echo "      and the T1_ROOT variable properly set in your S1_ROOT/sourceme file.";
  echo "      and the T1_ROOT variable properly set in your S1_ROOT/sourceme file.";
  exit 1;
  exit 1;
fi
fi
 
 
if [ -z "$S1_ROOT" ]; then echo "***ERROR***: S1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
 
if ! [ -d "$S1_ROOT" ]; then echo "***ERROR***: directory '$S1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
 
 
 
if [ -z "$T1_ROOT" ]; then echo "***ERROR***: T1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
 
if ! [ -d "$T1_ROOT" ]; then echo "***ERROR***: directory '$T1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
 
 
 
# Set source and destination directories
# Set source and destination directories
 
test_var S1_ROOT
 
test_var T1_ROOT
SRC_DIR=$T1_ROOT/design/sys/iop
SRC_DIR=$T1_ROOT/design/sys/iop
DST_DIR=$S1_ROOT/hdl/rtl/sparc_core
DST_DIR=$S1_ROOT/hdl/rtl/sparc_core
 
 
# Clean destination directory
# Clean destination directory
rm -f $DST_DIR/*.*
rm -f $DST_DIR/*.*
Line 140... Line 136...
DST_DIR=$S1_ROOT/hdl/behav/sparc_libs
DST_DIR=$S1_ROOT/hdl/behav/sparc_libs
rm -f $DST_DIR/*.*
rm -f $DST_DIR/*.*
cp $SRC_DIR/../../../lib/m1/m1.behV $DST_DIR/m1_lib.v
cp $SRC_DIR/../../../lib/m1/m1.behV $DST_DIR/m1_lib.v
cp $SRC_DIR/../../../lib/u1/u1.behV $DST_DIR/u1_lib.v
cp $SRC_DIR/../../../lib/u1/u1.behV $DST_DIR/u1_lib.v
 
 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.