Ignore:
Timestamp:
Mar 27, 2008, 11:04:49 AM (17 years ago)
Author:
rosiere
Message:

Add :

  • Execute_loop (must be test systemC)
  • Prediction
    • Direction : predifined scheme
    • Branch Target Buffer
  • iFetch_unit
    • ifetch_queue
    • pc management
  • Decod_unit
    • coming soon : support for custom operation
  • Rename_unit
    • RAT
    • Free_list
    • Dependence RAW check
    • Load store unit pointer
  • New Environnement (hierarchy_memory will remove in a next version)


Modif :

  • Manage Custom Operation
  • All component in execute_loop to use the new statistics management

Not Finish :

  • Return Address Stack
  • Environnement
File:
1 edited

Legend:

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

    r57 r78  
    44function usage ()
    55{
    6     echo "Usage   : $0 min max [step [iter]]";
     6    echo "Usage     : ${0} min max [step [iter]]";
     7    echo "Arguments : ";
    78    echo " * min  : value minimal";
    89    echo " * max  : value maximal";
     
    1516function range ()
    1617{
    17     declare a=$1;
    18     declare b=$2;
    19     declare step=$3;
     18    declare a=${1};
     19    declare b=${2};
     20    declare step=${3};
    2021
    21     while test $a -lt $b; do
    22         echo $a;
    23         a=$(($a $step));
     22    while test ${a} -lt ${b}; do
     23        echo ${a};
     24        a=$((${a} ${step}));
    2425    done
    2526
    26     if test $a -eq $b; then
    27         echo $a;
     27    if test ${a} -eq ${b}; then
     28        echo ${a};
    2829    fi;
    2930}
     
    3233function range_max ()
    3334{
    34     declare a=$1;
    35     declare b=$2;
    36     declare step=$3;
    37     declare iter=$4;
     35    declare a=${1};
     36    declare b=${2};
     37    declare step=${3};
     38    declare iter=${4};
    3839
    39     while test $a -lt $b -a $iter -gt 1; do
    40         a=$(($a $step));
    41         iter=$(($iter-1));
     40    while test ${a} -lt ${b} -a ${iter} -gt 1; do
     41        a=$((${a} ${step}));
     42        iter=$((${iter}-1));
    4243    done;
    4344
    44     if test $a -eq $b; then
    45         echo $a;
     45    if test ${a} -eq ${b}; then
     46        echo ${a};
    4647    fi;
    4748
    48     if test $iter -eq 1; then
    49         echo $a;
     49    if test ${iter} -eq 1; then
     50        echo ${a};
    5051    fi;
    5152}
     
    5556{
    5657    # create operande
    57     case $# in
    58         2) range $* "+1";;
    59         3) range $*     ;;
    60         4) range_max $* ;;
    61         *) usage $*
     58    case ${#} in
     59        2) range ${*} "+1";;
     60        3) range ${*}     ;;
     61        4) range_max ${*} ;;
     62        *) usage ${*}
    6263    esac
    6364}
    6465
    6566#-----[ Corps ]---------------------------------------------
    66 main $*
     67main ${*}
Note: See TracChangeset for help on using the changeset viewer.