source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/include/Parameters.h @ 88

Last change on this file since 88 was 88, checked in by rosiere, 16 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1#ifndef morpheo_behavioural_generic_shifter_Parameters_h
2#define morpheo_behavioural_generic_shifter_Parameters_h
3
4/*
5 * $Id: Parameters.h 88 2008-12-10 18:31:39Z rosiere $
6 *
7 * [ Description ]
8 *
9 */
10
11#include "Behavioural/include/Parameters.h"
12#include "Behavioural/Generic/Shifter/include/Types.h"
13#include <math.h>
14
15namespace morpheo {
16namespace behavioural {
17namespace generic {
18namespace shifter {
19
20  class Parameters : public morpheo::behavioural::Parameters
21  {
22    //-----[ fields ]------------------------------------------------------------
23  public : const uint32_t    _size_data           ;
24  public : const uint32_t    _nb_port             ;
25  public : const uint32_t    _shift_value         ; // 0 = external shifter's value
26  public : const rotate_t    _rotate              ;
27  public : const direction_t _direction           ;
28  public : const carry_t     _carry               ;
29  public : const uint32_t    _size_data_completion;
30  public : const bool        _type_completion_bool;
31
32  public : const bool        _internal_direction;
33  public : const bool        _internal_type     ;
34  public : const bool        _internal_carry    ;
35
36  public : const bool        _have_shift_logic_left        ;
37  public : const bool        _have_shift_logic_right       ;
38  public : const bool        _have_shift_logic             ;
39  public : const bool        _have_shift_arithmetic_left   ;
40  public : const bool        _have_shift_arithmetic_right  ;
41  public : const bool        _have_shift_arithmetic        ;
42  public : const bool        _have_shift                   ;
43  public : const bool        _have_rotate_left             ;
44  public : const bool        _have_rotate_right            ;
45  public : const bool        _have_rotate                  ;
46   
47  public : const bool        _have_direction_left          ;
48  public : const bool        _have_direction_right         ;
49
50    //-----[ methods ]-----------------------------------------------------------
51  public : Parameters  (uint32_t    size_data           ,
52                        uint32_t    nb_port             ,
53                        uint32_t    shift_value         ,
54                        rotate_t    rotate              ,
55                        direction_t direction           ,
56                        carry_t     carry               ,
57                        bool        type_completion_bool = false);
58//   public : Parameters  (Parameters & param) ;
59  public : ~Parameters () ;
60
61  public :        void            copy       (void);
62
63  public :        Parameters_test msg_error  (void);
64
65  public :        std::string     print      (uint32_t depth);
66  public : friend std::ostream&   operator<< (std::ostream& output_stream,
67                                              morpheo::behavioural::generic::shifter::Parameters & x);
68  };
69
70}; // end namespace shifter
71}; // end namespace generic
72}; // end namespace behavioural
73}; // end namespace morpheo             
74
75#endif
Note: See TracBrowser for help on using the repository browser.