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

1) Debug_Signal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.