source: trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Parameters.h @ 59

Last change on this file since 59 was 59, checked in by rosiere, 17 years ago

Add Load store queue -> but not terminated and tested
Add article to sympa 2007 -> but no started

File size: 1.9 KB
Line 
1#ifndef morpheo_behavioural_Parameters_h
2#define morpheo_behavioural_Parameters_h
3
4/*
5 * $Id$
6 *
7 * [ Description ]
8 *
9 */
10
11#include <stdint.h>
12#include <iostream>
13#include <math.h>
14#include "Behavioural/include/Environnement.h"
15#include "Common/include/ErrorMorpheo.h"
16#include "Common/include/ToString.h"
17#include "Common/include/Debug.h"
18
19using namespace std;
20
21namespace morpheo     {
22namespace behavioural {
23
24  // Virtual Class - Interface of each component
25  class Parameters
26  {
27    // -----[ fields ]----------------------------------------------------
28  public   : static const uint32_t   _size_exception      = 4 ;
29  public   : static const uint32_t   _size_dcache_address = 32;
30  public   : static const uint32_t   _size_dcache_type    = 4;
31  public   : static const uint32_t   _size_dcache_error   = 1;
32
33    // -----[ methods ]---------------------------------------------------
34  public   :                  Parameters            (void);
35  public   : virtual          ~Parameters           ();
36       
37    // methods to print and test parameters
38  public   : virtual string   print                 (uint32_t depth) = 0;
39  public   : virtual string   msg_error             (void) = 0;
40
41    // methods to generate configuration file
42
43   
44    // methods to test
45  public   :         void     test                  (void);
46  public   :         bool     is_natural            (double  val );
47  public   :         bool     is_positive           (double  val );
48  public   :         bool     is_multiple           (uint32_t val1,
49                                                     uint32_t val2);
50  public   :         bool     is_between_inclusive  (uint32_t val,
51                                                     uint32_t min,
52                                                     uint32_t max);
53  public   :         bool     is_between_exclusive  (uint32_t val,
54                                                     uint32_t min,
55                                                     uint32_t max);
56  };
57
58}; // end namespace behavioural         
59}; // end namespace morpheo             
60
61#endif
Note: See TracBrowser for help on using the repository browser.