/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/include/Signal.h"


namespace morpheo              {
namespace behavioural          {

// #undef  FUNCTION
// #define FUNCTION "Signal::mapping"
//   void Signal::mapping (Signal * signal)
//   {
//     log_printf(FUNC,Behavioural,FUNCTION,"Begin");

//     if (_is_map == true)
//       throw (ErrorMorpheo ("<Signal::mapping> Can't mapping signal \""+_name+"\" with \""+signal->get_name()+"\", because it's already map."));
    
//     if (signal->_is_allocate == false)
//       throw (ErrorMorpheo ("<Signal::mapping> Signal \""+_name+"\", can't map with signal \""+signal->get_name()+"\", because it's not already allocate."));

//     if (_direction == OUT)
//       {
// 	// This output is mapped
// 	_is_map     = true;

// 	if (signal->_direction == OUT)
// 	  _sc_signal_map = signal->_sc_signal_map;
//       }
    
//     log_printf(FUNC,Behavioural,FUNCTION,"End");
//   };

}; // end namespace behavioural          
}; // end namespace morpheo              
