Last change
on this file since 108 was
100,
checked in by rosiere, 16 years ago
|
1) Bug fix (Operation, Instruction)
2) Modif Return Address Stack
3) Add Soft Test
4) Add Soc Test
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[85] | 1 | #!/bin/bash |
---|
| 2 | |
---|
[82] | 3 | #----------------------------------------------------------- |
---|
| 4 | # $Id: xilinx_extract_info.sh 100 2009-01-08 13:06:27Z rosiere $ |
---|
| 5 | #----------------------------------------------------------- |
---|
[71] | 6 | |
---|
[100] | 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
TracBrowser
for help on using the repository browser.