Ignore:
Timestamp:
Jun 29, 2009, 6:38:40 PM (15 years ago)
Author:
rosiere
Message:

1) Debug_Signal

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  
    1616  Model::Model (void)
    1717  {
    18     log_begin(Behavioural,FUNCTION);
     18//     log_begin(Behavioural,FUNCTION);
    1919
    2020    set_model(NAME_true ,MODEL_SYSTEMC,true );
    2121    set_model(NAME_false,MODEL_SYSTEMC,false);
    2222
    23     log_end(Behavioural,FUNCTION);
     23//     log_end(Behavioural,FUNCTION);
    2424  }
    2525
     
    2828  Model::~Model(void)
    2929  {
    30     log_begin(Behavioural,FUNCTION);
    31     log_end(Behavioural,FUNCTION);
     30//     log_begin(Behavioural,FUNCTION);
     31//     log_end(Behavioural,FUNCTION);
    3232  }
    3333
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Model_get_debug.cpp

    r118 r129  
    1616  bool Model::get_debug (std::string component)
    1717  {
    18     log_begin(Behavioural,FUNCTION);
     18//     log_begin(Behavioural,FUNCTION);
    1919
    2020    bool _return;
     
    2727      _return = default_debug;
    2828   
    29     log_end(Behavioural,FUNCTION);
     29//     log_end(Behavioural,FUNCTION);
    3030
    3131    return _return;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Model_get_type.cpp

    r118 r129  
    1616  model_type_t Model::get_type (std::string component)
    1717  {
    18     log_begin(Behavioural,FUNCTION);
     18//     log_begin(Behavioural,FUNCTION);
    1919
    2020    model_type_t _return;
     
    2727      _return = default_type;
    2828
    29     log_end(Behavioural,FUNCTION);
     29//     log_end(Behavioural,FUNCTION);
    3030
    3131    return _return;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Model_print.cpp

    r118 r129  
    1616  void Model::print (void)
    1717  {
    18     log_begin(Behavioural,FUNCTION);
     18//     log_begin(Behavioural,FUNCTION);
    1919
    2020    msgInformation("Model Information [type, model simulation, debug verbosity]\n");
     
    2424      msgInformation("  * %s\t%s\t%s\n",(it->first).c_str(), toString(it->second.type).c_str(), toString(it->second.debug).c_str());
    2525
    26     log_end(Behavioural,FUNCTION);
     26//     log_end(Behavioural,FUNCTION);
    2727  }
    2828
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Model_set_model.cpp

    r118 r129  
    1616  void Model::set_model (std::string component, model_type_t type, bool debug)
    1717  {
    18     log_begin(Behavioural,FUNCTION);
     18//     log_begin(Behavioural,FUNCTION);
    1919
    2020    model_t model;
     
    2424    models [component] = model;
    2525
    26     log_end(Behavioural,FUNCTION);
     26//     log_end(Behavioural,FUNCTION);
    2727  }
    2828
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_link.cpp

    r128 r129  
    2727      throw (ERRORMORPHEO (FUNCTION,"Signal \""+_name+"\", can't map with signal \""+        get_name()+"\", because the first signal is not already allocate."));
    2828    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"));
    3030
    3131    // Test if type is compatible
    3232    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"),
    3434                                             _name.c_str(),
    3535                                             signal_dest->get_name().c_str(),
     
    5454      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)+")."));
    5555
     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());
    5663
    5764    // Multi consumer is authorized , no to multi producer!
Note: See TracChangeset for help on using the changeset viewer.