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

Last change on this file since 62 was 62, checked in by rosiere, 17 years ago

Modification en profondeur de Component-port_map.
Compilation ok pour Register_unit ... a tester (systemC et vhdl)

File size: 728 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 (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.