source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_test_map.cpp @ 75

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

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
File size: 733 bytes
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interface.h"
9
10
11namespace morpheo              {
12namespace behavioural          {
13
14#undef  FUNCTION
15#define FUNCTION "Interface::test_map"
16  bool Interface::test_map (bool top_level)
17  {
18    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
19
20    bool _return = true;
21
22    log_printf(INFO,Behavioural,FUNCTION, "   * Interface \"%s\"",_name.c_str());
23   
24    for (std::list<Signal*>::iterator i  = _list_signal->begin();
25         i != _list_signal->end();
26         ++i)
27      _return &= (*i)->test_map(top_level);
28
29    log_printf(FUNC,Behavioural,FUNCTION,"End");
30   
31    return _return;
32  };
33
34}; // end namespace behavioural         
35}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.