source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_test_map.cpp @ 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: 836 bytes
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interfaces.h"
9
10
11namespace morpheo              {
12namespace behavioural          {
13
14#undef  FUNCTION
15#define FUNCTION "Interfaces::test_map"
16  bool Interfaces::test_map (uint32_t depth, bool top_level)
17  {
18    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
19
20    std::string tab  = std::string(depth,'\t');
21
22    bool _return = true;
23
24    log_printf(NONE,Behavioural,FUNCTION, "%s* Interfaces \"%s\"",tab.c_str(),_name.c_str());
25   
26    for (std::list<Interface_fifo*>::iterator i  = _list_interface->begin();
27         i != _list_interface->end();
28         ++i)
29      _return &= (*i)->test_map(depth+1, top_level);
30
31    log_printf(FUNC,Behavioural,FUNCTION,"End");
32   
33    return _return;
34  };
35
36}; // end namespace behavioural         
37}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.