Ignore:
Timestamp:
Oct 13, 2010, 8:15:51 PM (14 years ago)
Author:
rosiere
Message:

1) add test with SPECINT2K
2) new config of Selftest
3) modif RAT to support multiple depth_save ... but not finish (need fix Update Prediction Table)
4) add Function_pointer but need fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Script/xilinx_extract_info.sh

    r138 r145  
    3434    summary_line_end=$(grep -n "Partition Resource Summary:"   ${1} | cut -d : -f 1);
    3535
    36     head -n $(($summary_line_end-1)) ${1} | tail -n $(($summary_line_end-$summary_line_begin));
     36    if test "${summary_line_begin}" != "" -a "${summary_line_end}" != ""; then
     37        head -n $(($summary_line_end-1)) ${1} | tail -n $(($summary_line_end-$summary_line_begin));
     38    fi;
    3739}
    3840
     
    4345    timing_line_end=$(grep -n "Timing Detail:"                 ${1} | cut -d : -f 1);
    4446
    45     head -n $(($timing_line_end-1))  ${1} | tail -n $(($timing_line_end-$timing_line_begin));
     47    if test "${timing_line_begin}" != "" -a "${timing_line_end}" != ""; then
     48        head -n $(($timing_line_end-1))  ${1} | tail -n $(($timing_line_end-$timing_line_begin));
     49    fi;
    4650}
    4751
     
    6670    done
    6771
    68     echo $nb_params;
    6972    if test $nb_params -eq 0; then
    7073        files="*.fpga.log";
Note: See TracChangeset for help on using the changeset viewer.