- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_signal_name.cpp
r81 r113 17 17 log_printf(FUNC,Behavioural,"signal_name","Begin"); 18 18 19 std::string str_direction = toString(direction);19 std::string str_direction = (direction==INTERNAL)?"":toString(direction); 20 20 std::string str_interface = name_interface; 21 21 std::string str_signal = name_signal; 22 22 23 LowerCase(str_direction);24 UpperCase(str_interface);25 UpperCase(str_signal );23 // LowerCase(str_direction); 24 // LowerCase(str_interface); 25 // LowerCase(str_signal ); 26 26 27 std::string signame = str_direction; 27 std::string signame = ""; 28 bool need_underscore = false; 29 30 if (str_direction != "") 31 { 32 signame += str_direction; 33 need_underscore = true; 34 } 28 35 if (str_interface != "") 29 signame += "_"+str_interface; 30 if (str_signal != "") 31 signame += "_"+str_signal; 36 { 37 signame += ((need_underscore)?"_":"")+str_interface; 38 need_underscore = true; 39 } 40 if (str_signal != "") 41 { 42 signame += ((need_underscore)?"_":"")+str_signal; 43 // need_underscore = true; 44 } 32 45 33 46 log_printf(FUNC,Behavioural,"signal_name","End");
Note: See TracChangeset
for help on using the changeset viewer.