#ifdef SYSTEMC /* * $Id: Update_Prediction_Table_constant.cpp 131 2009-07-08 18:40:08Z rosiere $ * * [ Description ] * */ #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include/Update_Prediction_Table.h" namespace morpheo { namespace behavioural { namespace core { namespace multi_front_end { namespace front_end { namespace prediction_unit { namespace update_prediction_table { #undef FUNCTION #define FUNCTION "Update_Prediction_Table::constant" void Update_Prediction_Table::constant (void) { log_begin(Update_Prediction_Table,FUNCTION); log_function(Update_Prediction_Table,FUNCTION,_name.c_str()); for (uint32_t i=0; i<_param->_nb_inst_branch_complete; i++) { internal_BRANCH_COMPLETE_ACK [i] = 1; PORT_WRITE(out_BRANCH_COMPLETE_ACK [i], internal_BRANCH_COMPLETE_ACK [i]); } for (uint32_t i=0; i<_param->_nb_context; ++i) { internal_EVENT_ACK [i] = 1; PORT_WRITE(out_EVENT_ACK [i], internal_EVENT_ACK [i]); } log_end(Update_Prediction_Table,FUNCTION); }; }; // end namespace update_prediction_table }; // end namespace prediction_unit }; // end namespace front_end }; // end namespace multi_front_end }; // end namespace core }; // end namespace behavioural }; // end namespace morpheo #endif