source: trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Configuration_Parameters.h @ 25

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

1) Ajout d'un "printer" XML pour la configuration de paramètres

2) Fin du composant "Two_Level_Branch_Predictor"

validation * systemc

  • vhdl
File size: 1.5 KB
Line 
1#ifndef morpheo_behavioural_Configuration_Parameters_h
2#define morpheo_behavioural_Configuration_Parameters_h
3
4/*
5 * $Id$
6 *
7 * [ Description ]
8 *
9 */
10
11#include <stdint.h>
12#include <iostream>
13#include "Behavioural/include/XML.h"
14#include "Include/ErrorMorpheo.h"
15#include "Include/ToString.h"
16using namespace std;
17
18namespace morpheo     {
19namespace behavioural {
20
21  class Configuration_Parameters
22  {
23    // -----[ fields ]----------------------------------------------------
24    // Constant
25  public   : const string    _name   ;
26  public   : const uint32_t  _value  ;
27  public   : const uint32_t  _min    ;
28  public   : const uint32_t  _max    ;
29  public   : const string    _step   ;
30  public   : const uint32_t  _default;
31  public   : const uint32_t  _level  ;
32  public   : const string    _comment;
33
34    // -----[ methods ]---------------------------------------------------
35  public   :                 Configuration_Parameters  (string   name   ,
36                                                        uint32_t value  ,
37                                                        uint32_t min    ,
38                                                        uint32_t max    ,
39                                                        string   step   ,
40                                                        uint32_t value_default,
41                                                        uint32_t level  ,
42                                                        string   comment);
43  public   :                 ~Configuration_Parameters ();
44
45    // methods to print and test parameters_configuration
46  public   : string          print                      (uint32_t depth);
47  public   : friend ostream& operator<<                 (ostream& output_stream,
48                                                         morpheo::behavioural::Configuration_Parameters & x);
49  };
50
51}; // end namespace behavioural         
52}; // end namespace morpheo             
53
54#endif
Note: See TracBrowser for help on using the repository browser.