#ifdef SYSTEMC /* * $Id: Register_unit_Glue_constant.cpp 136 2009-10-20 18:52:15Z rosiere $ * * [ Description ] * */ #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/include/Register_unit_Glue.h" namespace morpheo { namespace behavioural { namespace core { namespace multi_execute_loop { namespace execute_loop { namespace register_unit { namespace register_unit_glue { #undef FUNCTION #define FUNCTION "Register_unit_Glue::constant" void Register_unit_Glue::constant (void) { log_begin(Register_unit_Glue,FUNCTION); // PORT_WRITE(out_CONST_0 ,0); // PORT_WRITE(out_CONST_1 ,1); for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i) { for (uint32_t j=0; j<_param->_nb_gpr_write; ++j) PORT_WRITE(out_GPR_WRITE_STATUS_DATA [i][j],1); for (uint32_t j=0; j<_param->_nb_spr_write; ++j) PORT_WRITE(out_SPR_WRITE_STATUS_DATA [i][j],1); // for (uint32_t j=0; j<_param->_nb_inst_insert_rob[i]; ++j) // { // PORT_WRITE(out_INSERT_ROB_GPR_STATUS_DATA [i][j],0); // PORT_WRITE(out_INSERT_ROB_SPR_STATUS_DATA [i][j],0); // } } for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i) for (uint32_t j=0; j<_param->_nb_inst_issue; ++j) { PORT_WRITE(out_ISSUE_GPR_STATUS_DATA [i][j],0); PORT_WRITE(out_ISSUE_SPR_STATUS_DATA [i][j],0); } log_end(Register_unit_Glue,FUNCTION); }; }; // end namespace register_unit_glue }; // end namespace register_unit }; // end namespace execute_loop }; // end namespace multi_execute_loop }; // end namespace core }; // end namespace behavioural }; // end namespace morpheo #endif