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

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
File size: 1.0 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Prediction_unit_Glue/include/Parameters.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_front_end {
16namespace front_end {
17namespace prediction_unit {
18namespace prediction_unit_glue {
19
20
21#undef  FUNCTION
22#define FUNCTION "Prediction_unit_Glue::msg_error"
23  Parameters_test Parameters::msg_error(void)
24  {
25    log_printf(FUNC,Prediction_unit_Glue,FUNCTION,"Begin");
26
27    Parameters_test test ("Prediction_unit_Glue");
28
29    if (_nb_inst_predict > _nb_context)
30      test.error("nb_inst_predict must be <= nb_context\n");
31
32    log_printf(FUNC,Prediction_unit_Glue,FUNCTION,"End");
33
34    return test;
35  };
36
37}; // end namespace prediction_unit_glue
38}; // end namespace prediction_unit
39}; // end namespace front_end
40}; // end namespace multi_front_end
41}; // end namespace core
42
43}; // end namespace behavioural
44}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.