- Timestamp:
- Jul 9, 2007, 11:04:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_direction_toString.cpp
r42 r43 16 16 namespace behavioural { 17 17 18 #undef FUNCTION 19 #define FUNCTION "Vhdl::direction_toString" 18 20 string Vhdl::direction_toString (direction_t direction) 19 21 { 22 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 23 24 string _return; 20 25 switch (direction) 21 26 { 22 case IN : return"in "; break;23 case OUT : return"out "; break;24 default : return" "; break;27 case IN : _return = "in "; break; 28 case OUT : _return = "out "; break; 29 default : _return = " "; break; 25 30 } 31 32 log_printf(FUNC,Behavioural,FUNCTION,"End"); 33 return _return; 26 34 }; 27 35
Note: See TracChangeset
for help on using the changeset viewer.