#ifdef VHDL /* * $Id: Vhdl_set_architecture.cpp 113 2009-04-14 18:39:12Z rosiere $ * * [ Description ] * */ #include "Behavioural/include/Vhdl.h" namespace morpheo { namespace behavioural { #undef FUNCTION #define FUNCTION "Vhdl::set_architecture" std::string Vhdl::set_architecture (std::string name) { log_printf(FUNC,Behavioural,FUNCTION,"Begin"); std::string _return = _name_architecture; // vhdl_architecture_t arch; // if (_architecture.find(name) == _architecture.end()) // _architecture[name] = arch; _name_architecture = name; log_printf(FUNC,Behavioural,FUNCTION,"End"); return _return; }; }; // end namespace behavioural }; // end namespace morpheo #endif