diff --git a/DRAMSys/simulator/resources/scripts/dramSylva/dramSylva.sh b/DRAMSys/simulator/resources/scripts/dramSylva/dramSylva.sh index be19cbb8..bfed34cb 100755 --- a/DRAMSys/simulator/resources/scripts/dramSylva/dramSylva.sh +++ b/DRAMSys/simulator/resources/scripts/dramSylva/dramSylva.sh @@ -75,7 +75,15 @@ python_interpreter="python3" function systole { local current_time=$(date "+%Y.%m.%d-%H.%M.%S") root_dir="dram.vp.system_$current_time" - `git clone --recursive https://$git_user@git.rhrk.uni-kl.de/EIT-Wehn/dram.vp.system.git $root_dir` + echo -e "Cloning. Please be patient...\n" + git clone --recursive git@git.rhrk.uni-kl.de:EIT-Wehn/dram.vp.system.git $root_dir --quiet + local success=$? + if [[ $success -eq 0 ]]; then + echo -e "Clone succeeded\n" + else + echo -e "Cloning failed. Trying with HTTPS...\n" + git clone --recursive https://$git_user@git.rhrk.uni-kl.de/EIT-Wehn/dram.vp.system.git $root_dir --quiet + fi cd $root_dir git checkout master git pull diff --git a/README.md b/README.md index 6025bcc0..71d3680d 100644 --- a/README.md +++ b/README.md @@ -852,6 +852,18 @@ $ cd build/simulator/ $ ./dramSys > output ``` +#### Log Collector Script +Users can profit of running multiple simulations automatically with dramSylva. + +Example on how to run the script: + +``` bash +$ cd DRAMSys/simulator/resources/scripts/dramSylva +$ chmod u+x dramSylva.sh +$ ./dramSylva +``` +More detailed information is available in [dramSylva folder](DRAMSys/simulator/resources/scripts/dramSylva). + #### DRAMsys Diagrams - **Payload Extension information**