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

Last change on this file since 112 was 112, checked in by rosiere, 15 years ago

1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone

  • 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 112 2009-03-18 22:36:26Z 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 uint32_t    _size_shift        ;
33
34  public : const bool        _internal_direction;
35  public : const bool        _internal_type     ;
36  public : const bool        _internal_carry    ;
37
38  public : const bool        _have_shift_logic_left        ;
39  public : const bool        _have_shift_logic_right       ;
40  public : const bool        _have_shift_logic             ;
41  public : const bool        _have_shift_arithmetic_left   ;
42  public : const bool        _have_shift_arithmetic_right  ;
43  public : const bool        _have_shift_arithmetic        ;
44  public : const bool        _have_shift                   ;
45  public : const bool        _have_rotate_left             ;
46  public : const bool        _have_rotate_right            ;
47  public : const bool        _have_rotate                  ;
48   
49  public : const bool        _have_direction_left          ;
50  public : const bool        _have_direction_right         ;
51
52    //-----[ methods ]-----------------------------------------------------------
53  public : Parameters  (uint32_t    size_data           ,
54                        uint32_t    nb_port             ,
55                        uint32_t    shift_value         ,
56                        rotate_t    rotate              ,
57                        direction_t direction           ,
58                        carry_t     carry               ,
59                        bool        type_completion_bool = false);
60//   public : Parameters  (Parameters & param) ;
61  public : ~Parameters () ;
62
63  public :        void            copy       (void);
64
65  public :        Parameters_test msg_error  (void);
66
67  public :        std::string     print      (uint32_t depth);
68  public : friend std::ostream&   operator<< (std::ostream& output_stream,
69                                              morpheo::behavioural::generic::shifter::Parameters & x);
70  };
71
72}; // end namespace shifter
73}; // end namespace generic
74}; // end namespace behavioural
75}; // end namespace morpheo             
76
77#endif
Note: See TracBrowser for help on using the repository browser.