Ignore:
Timestamp:
Mar 27, 2008, 11:04:49 AM (16 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/Common/include/Debug.h

    r71 r78  
    99#include <sstream>
    1010#include <string>
     11
     12std::string debug_tab            (void);
     13void        debug_function_begin (std::string component, std::string function);
     14void        debug_function_end   (std::string component, std::string function);
    1115
    1216// Debug's Level :
     
    2731
    2832#ifdef DEBUG
    29 //Debug
    30 #  define log_printf(level, component, func, str... )                   \
     33# define log_printf(level, component, func, str... )                    \
    3134  do                                                                    \
    3235    {                                                                   \
     
    3639           ( DEBUG_ ## component == true )) )                           \
    3740        {                                                               \
     41          msg(_("%s"),debug_tab().c_str());                             \
    3842          if (DEBUG >= DEBUG_ALL )                                      \
    3943            {                                                           \
     
    4852                }                                                       \
    4953            }                                                           \
    50           msg(_("<%s> "),func);                                         \
    5154          if (DEBUG >= DEBUG_FUNC)                                      \
    5255            {                                                           \
     56              msg(_("<%s> "),func);                                     \
    5357              msg(_("In file %s, "),__FILE__);                          \
    54               msg(_("at line %d, "),__LINE__);                          \
     58              msg(_("at line %d " ),__LINE__);                          \
     59              msg(_(": "));                                             \
    5560            }                                                           \
    56           msg(_(": "));                                                 \
    5761          msg(str);                                                     \
    5862          msg(_("\n"));                                                 \
     
    6064        }                                                               \
    6165    } while(0)
    62 
    6366#else
    64 // No debug
    65 
    66 #  define log_printf(level, component, func, str... )                                 \
    67 do                                                                                    \
    68 {                                                                                     \
    69 } while(0)
    70 
     67# define log_printf(level, component, func, str... )                    \
     68  do                                                                    \
     69    {                                                                   \
     70    } while(0)
    7171#endif // DEBUG
    72 
    7372#endif // !DEBUG_H
Note: See TracChangeset for help on using the changeset viewer.