- 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/Entity_test_map.cpp
r62 r78 7 7 8 8 #include "Behavioural/include/Entity.h" 9 9 #include <iostream> 10 10 11 11 namespace morpheo { … … 14 14 #undef FUNCTION 15 15 #define FUNCTION "Entity::test_map" 16 bool Entity::test_map ( bool top_level)16 bool Entity::test_map (uint32_t depth, bool top_level) 17 17 { 18 18 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 19 19 20 log_printf(NONE,Behavioural,FUNCTION, " * Test mapping : Entity \"%s\"",_name.c_str()); 20 std::string tab = std::string(depth,'\t'); 21 log_printf(NONE,Behavioural,FUNCTION, "%s* Test mapping : Entity \"%s\"",tab.c_str(),_name.c_str()); 21 22 22 bool _return = _interfaces->test_map(top_level); 23 bool _return = _interfaces->test_map(depth+1,top_level); 24 25 #ifndef DEBUG 26 if (_return == false) 27 { 28 std::cerr << "In entity \"" << _name << "\" (type : \"" << _type << "\"), a lot of port is not connected !" << std::endl; 29 } 30 #endif 23 31 24 32 log_printf(FUNC,Behavioural,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.