#ifdef VHDL_TESTBENCH
/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/include/Interface.h"
#include "Behavioural/include/Entity.h"

namespace morpheo              {
namespace behavioural          {

  string Interface::testbench_test (Vhdl * & vhdl,
				    string   counter_name)
  {
    log_printf(FUNC,Behavioural,"testbench_test","Begin");

    vhdl->set_body("");
    vhdl->set_body("-- Test exhaustive");
    vhdl->set_body("");

    string test_name    = testbench_test_name(vhdl);
    string test_name_ok = testbench_test_ok     (vhdl);

    vhdl->set_body(test_name + " <= "+test_name_ok+";");

    log_printf(FUNC,Behavioural,"testbench_test","End");

    return test_name;
  };

}; // end namespace behavioural          
}; // end namespace morpheo              
#endif
