Changeset 129 for trunk/IPs/systemC/processor/Morpheo/Behavioural/src
- Timestamp:
- Jun 29, 2009, 6:38:40 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/src
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Model.cpp
r118 r129 16 16 Model::Model (void) 17 17 { 18 log_begin(Behavioural,FUNCTION);18 // log_begin(Behavioural,FUNCTION); 19 19 20 20 set_model(NAME_true ,MODEL_SYSTEMC,true ); 21 21 set_model(NAME_false,MODEL_SYSTEMC,false); 22 22 23 log_end(Behavioural,FUNCTION);23 // log_end(Behavioural,FUNCTION); 24 24 } 25 25 … … 28 28 Model::~Model(void) 29 29 { 30 log_begin(Behavioural,FUNCTION);31 log_end(Behavioural,FUNCTION);30 // log_begin(Behavioural,FUNCTION); 31 // log_end(Behavioural,FUNCTION); 32 32 } 33 33 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Model_get_debug.cpp
r118 r129 16 16 bool Model::get_debug (std::string component) 17 17 { 18 log_begin(Behavioural,FUNCTION);18 // log_begin(Behavioural,FUNCTION); 19 19 20 20 bool _return; … … 27 27 _return = default_debug; 28 28 29 log_end(Behavioural,FUNCTION);29 // log_end(Behavioural,FUNCTION); 30 30 31 31 return _return; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Model_get_type.cpp
r118 r129 16 16 model_type_t Model::get_type (std::string component) 17 17 { 18 log_begin(Behavioural,FUNCTION);18 // log_begin(Behavioural,FUNCTION); 19 19 20 20 model_type_t _return; … … 27 27 _return = default_type; 28 28 29 log_end(Behavioural,FUNCTION);29 // log_end(Behavioural,FUNCTION); 30 30 31 31 return _return; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Model_print.cpp
r118 r129 16 16 void Model::print (void) 17 17 { 18 log_begin(Behavioural,FUNCTION);18 // log_begin(Behavioural,FUNCTION); 19 19 20 20 msgInformation("Model Information [type, model simulation, debug verbosity]\n"); … … 24 24 msgInformation(" * %s\t%s\t%s\n",(it->first).c_str(), toString(it->second.type).c_str(), toString(it->second.debug).c_str()); 25 25 26 log_end(Behavioural,FUNCTION);26 // log_end(Behavioural,FUNCTION); 27 27 } 28 28 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Model_set_model.cpp
r118 r129 16 16 void Model::set_model (std::string component, model_type_t type, bool debug) 17 17 { 18 log_begin(Behavioural,FUNCTION);18 // log_begin(Behavioural,FUNCTION); 19 19 20 20 model_t model; … … 24 24 models [component] = model; 25 25 26 log_end(Behavioural,FUNCTION);26 // log_end(Behavioural,FUNCTION); 27 27 } 28 28 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_link.cpp
r128 r129 27 27 throw (ERRORMORPHEO (FUNCTION,"Signal \""+_name+"\", can't map with signal \""+ get_name()+"\", because the first signal is not already allocate.")); 28 28 if (signal_dest->_is_allocate == false) 29 throw (ERRORMORPHEO (FUNCTION,"Signal \""+_name+"\", can't map with signal \""+signal_dest->get_name()+"\", because the second signal is not already allocate. "));29 throw (ERRORMORPHEO (FUNCTION,"Signal \""+_name+"\", can't map with signal \""+signal_dest->get_name()+"\", because the second signal is not already allocate.\n")); 30 30 31 31 // Test if type is compatible 32 32 if (_type_info != signal_dest->_type_info) 33 throw (ERRORMORPHEO (FUNCTION,toString(_("Signal \"%s\" can't been linked with signal \"%s\" : incompatible type (%s != %s). "),33 throw (ERRORMORPHEO (FUNCTION,toString(_("Signal \"%s\" can't been linked with signal \"%s\" : incompatible type (%s != %s).\n"), 34 34 _name.c_str(), 35 35 signal_dest->get_name().c_str(), … … 54 54 throw (ERRORMORPHEO (FUNCTION,"Signal \""+_name+"\" can't been linked with signal \""+signal_dest->get_name()+"\" : illegal direction ("+toString(signal_src->_direction)+" with "+toString(signal_dest->_direction)+").")); 55 55 56 57 if (_size != signal_dest->get_size()) 58 msgWarning(_("The size of the signal \"%s\" (%d) is different with the signal \"%s\" (%d).\n"), 59 _name.c_str(), 60 _size, 61 signal_dest->get_name().c_str(), 62 signal_dest->get_size()); 56 63 57 64 // Multi consumer is authorized , no to multi producer!
Note: See TracChangeset
for help on using the changeset viewer.