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

#include "Behavioural/include/Signal.h"


namespace morpheo              {
namespace behavioural          {

#undef  FUNCTION
#define FUNCTION "Signal::presence_vhdl"
  bool Signal::presence_vhdl (void)
  {
    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    bool _return = ((_presence_port == PORT_VHDL_YES_TESTBENCH_YES) or
		    (_presence_port == PORT_VHDL_YES_TESTBENCH_NO ) or
		    (_presence_port == CLOCK_VHDL_YES             ) or
		    (_presence_port == RESET_VHDL_YES             ) );
    log_printf(FUNC,Behavioural,FUNCTION,"End");

    return _return;
  };

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