#! /bin/csh -f 

############################################################
## Copyright: 2011 Integrated Sytems Laboratory, ETH Zurich
##            http://www.iis.ee.ethz.ch/~sha3
############################################################
# v0.2 -  - Tue Oct  4 12:32:36 CEST 2011
# - added a loop for the utilization as well 
# v0.1 -  - Mon Sep 26 13:42:14 CEST 2011
# - first version

setenv VER "10-12.000"

setenv CLOCKLIST " 1.0 "
setenv UTILLIST  " 0.8 "

if ( -e ./scripts/design_settings.csh ) then
  source ./scripts/design_settings.csh
else
  echo "*WARNING: Default setings are taken, no design_settings.csh file exists!"
endif

foreach CLK ( $CLOCKLIST ) 
 setenv CLOCK $CLK
 foreach UTIL ( $UTILLIST )
    setenv COREUT $UTIL
    echo "-------------------------------------------------------------------------------"
    echo "-- Clock: $CLOCK ns, CORE Utilization $COREUT "
    echo "-------------------------------------------------------------------------------"
    echo "run encounter"

    echo "create_clock -period  $CLOCK [get_ports {ClkxCI}]" > src/block_mmmc_clock.sdc

    cds_edi$VER encounter -nowin \
                          -cmd encounter_${CLOCK}_${COREUT}.cmd \
                          -log encounter_${CLOCK}_${COREUT}.log \
                          -init ../../common/encounter/block_back-end.tcl 
                         #>  /dev/null
  end # UTIL
end # CLK

Generated on Tue Nov 22 15:16:34 CET 2011
Home