#ifdef VHDL /* * $Id: Comparator_vhdl.cpp 112 2009-03-18 22:36:26Z rosiere $ * * [ Description ] * */ #include "Behavioural/Generic/Comparator/include/Comparator.h" #include "Behavioural/include/Vhdl.h" namespace morpheo { namespace behavioural { namespace generic { namespace comparator { #undef FUNCTION #define FUNCTION "Comparator::vhdl" void Comparator::vhdl (void) { log_begin(Comparator,FUNCTION); Vhdl * vhdl = new Vhdl (_name); _interfaces->set_port(vhdl); _component->vhdl_instance(vhdl); vhdl_declaration (vhdl); vhdl_body (vhdl); vhdl->generate_file(); delete vhdl; log_end(Comparator,FUNCTION); }; }; // end namespace comparator }; // end namespace generic }; // end namespace behavioural }; // end namespace morpheo #endif