Changeset 100 for trunk/IPs/systemC/processor/Morpheo/Script
- Timestamp:
- Jan 8, 2009, 2:06:27 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:ignore
set to
Makefile.flags
Makefile.tools
Makefile.tools_path
-
Property
svn:ignore
set to
-
trunk/IPs/systemC/processor/Morpheo/Script/xilinx_extract_info.sh
r85 r100 5 5 #----------------------------------------------------------- 6 6 7 for i in *.fpga.log; do 8 echo "===== $i"; 9 grep "Number of Slice Registers" $i; 10 grep "Number used as Logic" $i; 11 grep "Number used as Memory" $i; 12 grep "Maximum Frequency" $i; 13 done 7 ##-----[ usage ]--------------------------------------------- 8 #function usage () 9 #{ 10 # echo "Usage : ${0} [files]"; 11 # echo "Arguments : "; 12 # echo ' * files : lists of files. If empty, take *.fpga.log'; 13 ## echo "Notes :"; 14 ## echo " * Morpheo's environnement must be positionned."; 15 # 16 # exit; 17 #} 18 19 #-----[ info ]---------------------------------------------- 20 function info () 21 { 22 echo "===== ${1}"; 23 grep "Number of Slice Registers" ${1}; 24 grep "Number of Slice LUTs" ${1}; 25 grep "Number used as Logic" ${1}; 26 grep "Number used as Memory" ${1}; 27 grep "Number used as RAM" ${1}; 28 grep "Maximum Frequency" ${1}; 29 } 30 31 #-----[ main ]---------------------------------------------- 32 function main () 33 { 34 if test $# -eq 0; then 35 files="*.fpga.log"; 36 else 37 files="$*"; 38 fi; 39 40 for i in $files; do 41 info $i; 42 done 43 } 44 45 #-----[ Corps ]--------------------------------------------- 46 main ${*} 47
Note: See TracChangeset
for help on using the changeset viewer.