/* * $Id: Parameters_msg_error.cpp 136 2009-10-20 18:52:15Z rosiere $ * * [ Description ] * */ #include "Behavioural/include/Types.h" #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/include/Parameters.h" #include namespace morpheo { namespace behavioural { namespace core { namespace multi_front_end { namespace front_end { namespace prediction_unit { #undef FUNCTION #define FUNCTION "Prediction_unit::msg_error" Parameters_test Parameters::msg_error(void) { log_printf(FUNC,Prediction_unit,FUNCTION,"Begin"); Parameters_test test ("Prediction_unit"); for (uint32_t i=0; i<_nb_context; ++i) if ((_nb_instruction[i] > 1) and (_ufpt_size_queue[i] < 2)) test.error(toString(_("context \"%d\" : can fetch must than 1 instruction per cycle, size of Update Fetch Prediction Table must be less 1\n"),i)); log_printf(FUNC,Prediction_unit,FUNCTION,"End"); return test; }; }; // end namespace prediction_unit }; // end namespace front_end }; // end namespace multi_front_end }; // end namespace core }; // end namespace behavioural }; // end namespace morpheo