#ifdef VHDL /* * $Id$ * * [ Description ] * */ #include "Behavioural/Generic/Counter/include/Counter.h" namespace morpheo { namespace behavioural { namespace generic { namespace counter { void Counter::vhdl_declaration (Vhdl & vhdl) { log_printf(FUNC,Counter,"vhdl_declaration","Begin"); if (_param._size_data > 1) { vhdl.set_constant ("cst_min",_param._size_data,std_logic_others(_param._size_data,0)); vhdl.set_constant ("cst_max",_param._size_data,std_logic_others(_param._size_data,1)); } log_printf(FUNC,Counter,"vhdl_declaration","End"); }; }; // end namespace counter }; // end namespace generic }; // end namespace behavioural }; // end namespace morpheo #endif