/*
 * $Id: Signal_presence_testbench.cpp 113 2009-04-14 18:39:12Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/include/Signal.h"


namespace morpheo              {
namespace behavioural          {

#undef  FUNCTION
#define FUNCTION "Signal::presence_testbench"
  bool Signal::presence_testbench (void)
  {
    log_printf(FUNC,Behavioural,FUNCTION,"Begin");

    bool _return = ((_presence_port == PORT_VHDL_YES_TESTBENCH_YES) or
		    (_presence_port == PORT_VHDL_NO_TESTBENCH_YES ) 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              
