Ignore:
Timestamp:
Jun 26, 2009, 10:43:23 AM (15 years ago)
Author:
rosiere
Message:

1) Correct bug in link two signal
2) Fix error detected with valgrind
3) modif distexe script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_link.cpp

    r113 r128  
    2929      throw (ERRORMORPHEO (FUNCTION,"Signal \""+_name+"\", can't map with signal \""+signal_dest->get_name()+"\", because the second signal is not already allocate."));
    3030
     31    // Test if type is compatible
     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)."),
     34                                             _name.c_str(),
     35                                             signal_dest->get_name().c_str(),
     36                                             toString(_type_info).c_str(),
     37                                             toString(signal_dest->_type_info).c_str())));
     38
    3139    // List of all case
    3240    //
     
    3947
    4048    // list valid case
     49
    4150    if (not (    signal_dest_is_port and (((signal_src->_direction == IN ) and (signal_dest->_direction == IN      )) or
    4251                                          ((signal_src->_direction == OUT) and (signal_dest->_direction == OUT     )))) and
Note: See TracChangeset for help on using the changeset viewer.