Ignore:
Timestamp:
Feb 1, 2011, 9:57:54 PM (13 years ago)
Author:
rosiere
Message:

1) Integration of RegisterFile_Internal_Banked in RegisterFile?
2) Erase "read_write" interface in RegisterFile_Monolithic component
3) Add smith predictor parameters in Load_store_pointer_unit.
4) Fix not statistics flags

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Allocation.h

    r145 r146  
    141141    } while (0)
    142142
    143 #define DELETE0(var)             DELETE1_COND(var,true)
     143#define DELETE0(var)             DELETE0_COND(var,true)
    144144#define DELETE1(var,s1)          DELETE1_COND(var,s1,true)
    145145#define DELETE2(var,s1,s2)       DELETE2_COND(var,s1,s2,true)
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Stat_binary_tree.h

    r88 r146  
    1 #ifdef STATISTICS
     1//#ifdef STATISTICS
    22#ifndef morpheo_behavioural_Stat_binary_tree_h
    33#define morpheo_behavioural_Stat_binary_tree_h
     
    7272};
    7373#endif
    74 #endif
     74//#endif
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Stat_type.h

    r144 r146  
    1 #ifdef STATISTICS
    21#ifndef morpheo_behavioural_Stat_type_h
    32#define morpheo_behavioural_Stat_type_h
     
    1211namespace behavioural {
    1312
    14   typedef enum{TYPE_VARIABLE, TYPE_COUNTER} counter_type_t;
    15 
    1613  typedef double counter_t ;
    1714
    1815  typedef enum{add, sub, mul, div, inc, dec} operator_t;
     16
     17#ifdef STATISTICS
     18
     19  typedef enum{TYPE_VARIABLE, TYPE_COUNTER} counter_type_t;
    1920
    2021//typedef std::pair<operator_t, std::string> pair_operator_string_t;
     
    7980  };
    8081
     82#endif
     83
    8184};
    8285};
    8386#endif
    84 #endif
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Types.h

    r139 r146  
    114114
    115115  typedef enum
     116  {
     117    PHT_SCHEME_COUNTER,
     118    PHT_SCHEME_FSM
     119  } Tpht_scheme_t;
     120 
     121  typedef enum
    116122    {
    117123      MANAGE_EVENT_WAIT_ALL,
     
    314320  };
    315321
     322
     323  template<> inline std::string toString<morpheo::behavioural::Tpht_scheme_t>(const morpheo::behavioural::Tpht_scheme_t& x)
     324  {
     325    switch (x)
     326      {
     327      case morpheo::behavioural::PHT_SCHEME_COUNTER : return "counter"; break;
     328      case morpheo::behavioural::PHT_SCHEME_FSM     : return "fsm"    ; break;
     329      default : return ""; break;
     330      }
     331  };
     332
     333  template<> inline morpheo::behavioural::Tpht_scheme_t fromString<morpheo::behavioural::Tpht_scheme_t>(const std::string& x)
     334  {
     335    if ( (x.compare(toString(static_cast<uint32_t>(morpheo::behavioural::PHT_SCHEME_COUNTER  ))) == 0) or
     336         (x.compare(toString(                      morpheo::behavioural::PHT_SCHEME_COUNTER   )) == 0))
     337      return morpheo::behavioural::PHT_SCHEME_COUNTER;
     338    if ( (x.compare(toString(static_cast<uint32_t>(morpheo::behavioural::PHT_SCHEME_FSM))) == 0) or
     339         (x.compare(toString(                      morpheo::behavioural::PHT_SCHEME_FSM )) == 0))
     340      return morpheo::behavioural::PHT_SCHEME_FSM;
     341   
     342    throw (ErrorMorpheo ("<fromString> : Unknow string : \""+x+"\""));
     343  };
     344
     345
    316346  template<> inline std::string toString<morpheo::behavioural::Trat_scheme_t>(const morpheo::behavioural::Trat_scheme_t& x)
    317347  {
Note: See TracChangeset for help on using the changeset viewer.