/* * $Id: Interfaces_set_port.cpp 113 2009-04-14 18:39:12Z rosiere $ * * [ Description ] * */ #include "Behavioural/include/Interfaces.h" namespace morpheo { namespace behavioural { #ifdef VHDL #undef FUNCTION #define FUNCTION "Interfaces::set_port" void Interfaces::set_port (Vhdl * & vhdl) { log_printf(FUNC,Behavioural,FUNCTION,"Begin"); if (not _list_interface->empty()) { std::list::iterator i = _list_interface->begin(); while (i != _list_interface->end()) { (*i)->set_port (vhdl); ++i; } // Signal * clock = get_clock(); // if (clock != NULL) // vhdl->set_port_clock (clock->get_name()); } log_printf(FUNC,Behavioural,FUNCTION,"End"); }; #endif }; // end namespace behavioural }; // end namespace morpheo