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

#include "Behavioural/Generic/Counter/include/Counter.h"
#include "Behavioural/include/Vhdl.h"

namespace morpheo                    {
namespace behavioural {
namespace generic {
namespace counter {


  void Counter::vhdl (void)
  {
    log_printf(FUNC,Counter,"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,Counter,"vhdl","End");

  };

}; // end namespace counter
}; // end namespace generic

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