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

#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
#include "Behavioural/include/Vhdl.h"

namespace morpheo                    {
namespace behavioural {
@NAMESPACE_BEGIN

  void @COMPONENT::vhdl (void)
  {
    log_printf(FUNC,@COMPONENT,"vhdl","Begin");
    Vhdl vhdl (_name);

    vhdl.set_library_work (_name + "_Pack");

    vhdl_port        (vhdl);
    vhdl_declaration (vhdl);
    vhdl_body        (vhdl);

    vhdl.generate_file();
    log_printf(FUNC,@COMPONENT,"vhdl","End");

  };

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