- Timestamp:
- Mar 27, 2008, 11:04:49 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_test_map.cpp
r75 r78 14 14 #undef FUNCTION 15 15 #define FUNCTION "Interface::test_map" 16 bool Interface::test_map ( bool top_level)16 bool Interface::test_map (uint32_t depth, bool top_level) 17 17 { 18 18 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 19 19 20 std::string tab = std::string(depth,'\t'); 20 21 bool _return = true; 21 22 22 log_printf( INFO,Behavioural,FUNCTION, " * Interface \"%s\"",_name.c_str());23 log_printf(NONE,Behavioural,FUNCTION, "%s* Interface \"%s\"",tab.c_str(),_name.c_str()); 23 24 24 25 for (std::list<Signal*>::iterator i = _list_signal->begin(); 25 26 i != _list_signal->end(); 26 27 ++i) 27 _return &= (*i)->test_map( top_level);28 _return &= (*i)->test_map(depth+1,top_level); 28 29 29 30 log_printf(FUNC,Behavioural,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.