- Timestamp:
- Oct 13, 2010, 8:15:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Script/xilinx_extract_info.sh
r138 r145 34 34 summary_line_end=$(grep -n "Partition Resource Summary:" ${1} | cut -d : -f 1); 35 35 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; 37 39 } 38 40 … … 43 45 timing_line_end=$(grep -n "Timing Detail:" ${1} | cut -d : -f 1); 44 46 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; 46 50 } 47 51 … … 66 70 done 67 71 68 echo $nb_params;69 72 if test $nb_params -eq 0; then 70 73 files="*.fpga.log";
Note: See TracChangeset
for help on using the changeset viewer.