Changeset 144 for trunk/IPs/systemC/processor/Morpheo/Behavioural/src
- Timestamp:
- Sep 28, 2010, 1:19:10 PM (14 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_dealloc.cpp
r142 r144 19 19 20 20 #warning "FIXME : Signal::dealloc" 21 21 22 // switch (_direction) 22 23 // { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_test_map.cpp
r139 r144 40 40 41 41 if (not (is_behavioural and top_level)) 42 if (top_level == true) 43 { 44 switch (_direction) 45 { 46 case morpheo::behavioural::IN : 42 {//BURP : ajoue de la parenthÚse ... 43 if (top_level == true) 44 { 45 switch (_direction) 47 46 { 48 if (_is_map_as_toplevel_dest == false) 49 { 50 _return = false; 51 52 str = "Signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 53 } 54 break; 47 case morpheo::behavioural::IN : 48 { 49 if (_is_map_as_toplevel_dest == false) 50 { 51 _return = false; 52 53 str = "Signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 54 } 55 break; 56 } 57 case morpheo::behavioural::OUT : 58 { 59 if (_is_map_as_toplevel_dest == false) 60 { 61 _return = false; 62 str = "Signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 63 } 64 break; 65 } 66 case morpheo::behavioural::INTERNAL : 67 { 68 if (_is_map_as_component_src == false) 69 { 70 _return = false; 71 72 str = "Internal signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 73 } 74 75 if (_is_map_as_component_dest == false) 76 { 77 if (_return == false) 78 str+="\n"; 79 80 _return = false; 81 82 str += "Internal signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 83 } 84 85 break; 86 } 87 //case morpheo::behavioural::INOUT : 88 default : break; 55 89 } 56 case morpheo::behavioural::OUT : 90 } 91 else 92 { 93 // internal signal : 94 // Component --- I/O (as_src) 95 // Component --- Component (as_src and as_dest) 96 97 switch (_direction) 57 98 { 58 if (_is_map_as_toplevel_dest == false) 59 { 60 _return = false; 61 str = "Signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 62 } 63 break; 99 case morpheo::behavioural::IN : 100 { 101 if (_is_map_as_component_src == false) 102 { 103 _return = false; 104 105 str = "Signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 106 } 107 break; 108 } 109 case morpheo::behavioural::OUT : 110 { 111 if (_is_map_as_component_src == false) 112 { 113 _return = false; 114 115 str = "Signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 116 } 117 break; 118 } 119 case morpheo::behavioural::INTERNAL : 120 { 121 if (_is_map_as_component_src == false) 122 { 123 _return = false; 124 125 str = "Internal signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 126 } 127 128 if (_is_map_as_component_dest == false) 129 { 130 if (_return == false) 131 str+="\n"; 132 133 _return = false; 134 135 str += "Internal signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 136 } 137 138 break; 139 } 140 //case morpheo::behavioural::INOUT : 141 default : break; 64 142 } 65 case morpheo::behavioural::INTERNAL : 66 { 67 if (_is_map_as_component_src == false) 68 { 69 _return = false; 70 71 str = "Internal signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 72 } 73 74 if (_is_map_as_component_dest == false) 75 { 76 if (_return == false) 77 str+="\n"; 78 79 _return = false; 80 81 str += "Internal signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 82 } 83 84 break; 85 } 86 //case morpheo::behavioural::INOUT : 87 default : break; 88 } 89 } 90 else 91 { 92 // internal signal : 93 // Component --- I/O (as_src) 94 // Component --- Component (as_src and as_dest) 95 96 switch (_direction) 97 { 98 case morpheo::behavioural::IN : 99 { 100 if (_is_map_as_component_src == false) 101 { 102 _return = false; 103 104 str = "Signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 105 } 106 break; 107 } 108 case morpheo::behavioural::OUT : 109 { 110 if (_is_map_as_component_src == false) 111 { 112 _return = false; 113 114 str = "Signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 115 } 116 break; 117 } 118 case morpheo::behavioural::INTERNAL : 119 { 120 if (_is_map_as_component_src == false) 121 { 122 _return = false; 123 124 str = "Internal signal \""+signame+"\" is not mapped with an outpout port top-level's interface or a input port component's interface."; 125 } 126 127 if (_is_map_as_component_dest == false) 128 { 129 if (_return == false) 130 str+="\n"; 131 132 _return = false; 133 134 str += "Internal signal \""+signame+"\" is not mapped with an input port top-level's interface or a output port component's interface."; 135 } 136 137 break; 138 } 139 //case morpheo::behavioural::INOUT : 140 default : break; 141 } 142 } 143 } 144 } 143 145 144 146 if (_return == false)
Note: See TracChangeset
for help on using the changeset viewer.