#! /bin/csh -f ############################################################ ## Copyright: 2011 Integrated Sytems Laboratory, ETH Zurich ## http://www.iis.ee.ethz.ch/~sha3 ############################################################ # v0.1 - - Thu Sep 22 16:02:21 CEST 2011 # - adapted from run_rtl_all.csh set VER=10.0b set CONFIG="../simvectors/config.txt" set MSIMLOG="modelsim_run.log" set NUMBLOCKS="10000" set PROBABILITY="20" # compile everything echo echo -n "Starting at : " date echo "Compile all from scratch" #./compile_gate.csh foreach alg ( 0011 1001 1101 1010 1011 0000 0001 0010 0100 0101 1000 1100 ) # echo "----------------------------------------------------------"; # echo " For $alg generating $CONFIG " cat<$CONFIG % The configuration file for shabziger % % All numbers in binary % First entry is algorithm select % Second is the number of blocks to run % | Third number is the (inverse) probability to generate a finblock signal % | | Fourth number is 73 bits of LFSR seed-----------------------------------| % | | |LSB | MSB| $alg $NUMBLOCKS $PROBABILITY 1000000000000000000000000010000000000000000000000000000000000000000000000 BUGU ./gen_post_dofile.pl vsim-${VER} -load_elab postlayout.elab -do gate_list.do >> $MSIMLOG echo -n " --> " ./parse_list.pl | tee result_${alg}.txt | grep "RESULT" gcp -a list.lst list_${alg}.lst end