#ifdef SYSTEMC /* * $Id: Stat_List_unit_constant.cpp 131 2009-07-08 18:40:08Z rosiere $ * * [ Description ] * */ #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Stat_List_unit/include/Stat_List_unit.h" namespace morpheo { namespace behavioural { namespace core { namespace multi_ooo_engine { namespace ooo_engine { namespace rename_unit { namespace register_translation_unit { namespace stat_list_unit { #undef FUNCTION #define FUNCTION "Stat_List_unit::constant" void Stat_List_unit::constant (void) { log_begin(Stat_List_unit,FUNCTION); log_function(Stat_List_unit,FUNCTION,_name.c_str()); for (uint32_t i=0; i<_param->_nb_inst_insert; i++) { internal_INSERT_ACK[i] = 1; PORT_WRITE(out_INSERT_ACK[i], internal_INSERT_ACK[i]); } for (uint32_t i=0; i<_param->_nb_inst_retire; i++) { internal_RETIRE_ACK[i] = 1; PORT_WRITE(out_RETIRE_ACK[i], internal_RETIRE_ACK[i]); } log_end(Stat_List_unit,FUNCTION); }; }; // end namespace stat_list_unit }; // end namespace register_translation_unit }; // end namespace rename_unit }; // end namespace ooo_engine }; // end namespace multi_ooo_engine }; // end namespace core }; // end namespace behavioural }; // end namespace morpheo #endif