- 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/Interfaces_test_map.cpp
r75 r78 14 14 #undef FUNCTION 15 15 #define FUNCTION "Interfaces::test_map" 16 bool Interfaces::test_map ( bool top_level)16 bool Interfaces::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'); 21 20 22 bool _return = true; 21 23 22 log_printf( INFO,Behavioural,FUNCTION, " * Interfaces \"%s\"",_name.c_str());24 log_printf(NONE,Behavioural,FUNCTION, "%s* Interfaces \"%s\"",tab.c_str(),_name.c_str()); 23 25 24 26 for (std::list<Interface_fifo*>::iterator i = _list_interface->begin(); 25 27 i != _list_interface->end(); 26 28 ++i) 27 _return &= (*i)->test_map( top_level);29 _return &= (*i)->test_map(depth+1, top_level); 28 30 29 31 log_printf(FUNC,Behavioural,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.