source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Parameters_msg_error.cpp @ 88

Last change on this file since 88 was 88, checked in by rosiere, 15 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/*
2 * $Id: Parameters_msg_error.cpp 88 2008-12-10 18:31:39Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include/Parameters.h"
10#include "Common/include/Max.h"
11#include <sstream>
12
13namespace morpheo                    {
14namespace behavioural {
15namespace core {
16namespace multi_front_end {
17namespace front_end {
18namespace prediction_unit {
19namespace update_prediction_table {
20
21
22#undef  FUNCTION
23#define FUNCTION "Update_Prediction_Table::msg_error"
24  Parameters_test Parameters::msg_error(void)
25  {
26    log_printf(FUNC,Update_Prediction_Table,FUNCTION,"Begin");
27
28    Parameters_test test ("Update_Prediction_Table");
29
30    for (uint32_t i=0; i<_nb_context; i++)
31      if (_size_ufpt_queue [i] > _size_upt_queue [i])
32        test.error(toString(_("context \"%d\" : size_upt_queue must be >= at size_ufpt_queue\n"),i));
33   
34    log_printf(FUNC,Update_Prediction_Table,FUNCTION,"End");
35
36    return test;
37  };
38
39}; // end namespace update_prediction_table
40}; // end namespace prediction_unit
41}; // end namespace front_end
42}; // end namespace multi_front_end
43}; // end namespace core
44
45}; // end namespace behavioural
46}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.