source: trunk/IPs/systemC/processor/Morpheo/Script/lock.sh @ 78

Last change on this file since 78 was 78, checked in by rosiere, 16 years ago

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 size: 793 bytes
Line 
1#!/bin/sh
2
3#-----[ usage ]---------------------------------------------
4function usage ()
5{
6    echo "Usage     : ${0} file";
7    echo "Arguments : ";
8    echo ' * file : you can see the lock at "${MORPHEO_HOME}/lock/$(basename file).lock"';
9    echo "Notes     :";
10    echo " * Morpheo's environnement must be positionned.";
11
12    exit;
13}
14
15#-----[ lock ]----------------------------------------------
16function lock ()
17{
18    lockfile -1 ${1};
19}
20
21#-----[ main ]----------------------------------------------
22function main ()
23{
24    LOCK_DIRECTORY="${MORPHEO_HOME}/lock";
25
26    if test ${#} -ne 1 -o -z ${MORPHEO_HOME} -o ! -d ${LOCK_DIRECTORY}; then
27        usage ${*};
28    fi;
29
30    lock "${LOCK_DIRECTORY}/$(basename ${1}).lock"
31}
32
33#-----[ Corps ]---------------------------------------------
34main ${*}
Note: See TracBrowser for help on using the repository browser.