source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/src/Parameters_msg_error.cpp @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 1.4 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h"
9#include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Types.h"
10#include <sstream>
11using namespace std;
12
13namespace morpheo                    {
14namespace behavioural {
15namespace stage_1_ifetch {
16namespace predictor {
17namespace meta_predictor {
18namespace two_level_branch_predictor {
19namespace two_level_branch_predictor_glue {
20
21
22  string Parameters::msg_error(void)
23  {
24    log_printf(FUNC,Two_Level_Branch_Predictor_Glue,"msg_error","Begin");
25
26    string msg = "";
27   
28    if (_have_pht and (_pht_size_address_share >= _pht_size_address))
29      {
30        msg += "  - You can't have higher pht_size_address_share >= pht_size_address\n";
31        msg += "    * pht_size_address                : " + toString(_pht_size_address      ) + "\n";
32        msg += "    * pht_size_address_share          : " + toString(_pht_size_address_share) + "\n";
33      }
34
35    return msg;
36
37    log_printf(FUNC,Two_Level_Branch_Predictor_Glue,"msg_error","End");
38  };
39
40}; // end namespace two_level_branch_predictor_glue
41}; // end namespace two_level_branch_predictor
42}; // end namespace meta_predictor
43}; // end namespace predictor
44}; // end namespace stage_1_ifetch
45}; // end namespace behavioural
46}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.