#!/bin/sh
#-----------------------------------------------------------
# $Id: xilinx_extract_info.sh 82 2008-05-01 16:48:45Z rosiere $
#-----------------------------------------------------------

for i in *.fpga.log; do
    echo "===== $i";
    grep "Number of Slice Registers" $i;
    grep "Number used as Logic"      $i;
    grep "Number used as Memory"     $i;
    grep "Maximum Frequency"         $i;
done