source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/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
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1/*
2 * $Id: Parameters_msg_error.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Return_Address_Stack/include/Parameters.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_front_end {
16namespace front_end {
17namespace prediction_unit {
18namespace return_address_stack {
19
20
21#undef  FUNCTION
22#define FUNCTION "Return_Address_Stack::msg_error"
23  Parameters_test Parameters::msg_error(void)
24  {
25    log_printf(FUNC,Return_Address_Stack,FUNCTION,"Begin");
26
27    Parameters_test test ("Return_Address_Stack");
28
29    for (uint32_t i=0; i<_nb_context; i++)
30      if (_size_queue [i] < 2)
31        test.error("context \""+toString(i)+"\" :  size_queue must be > 2");
32   
33    log_printf(FUNC,Return_Address_Stack,FUNCTION,"End");
34
35    return test;
36  };
37
38}; // end namespace return_address_stack
39}; // end namespace prediction_unit
40}; // end namespace front_end
41}; // end namespace multi_front_end
42}; // end namespace core
43
44}; // end namespace behavioural
45}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.