[112] | 1 | #ifndef morpheo_behavioural_generic_multiplier_Parameters_h |
---|
| 2 | #define morpheo_behavioural_generic_multiplier_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 116 2009-04-30 13:51:41Z moulu $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Behavioural/include/Parameters.h" |
---|
| 12 | #include "Common/include/Debug.h" |
---|
[116] | 13 | #include "Behavioural/Generic/Multiplier/include/Types.h" |
---|
[112] | 14 | |
---|
| 15 | namespace morpheo { |
---|
| 16 | namespace behavioural { |
---|
| 17 | namespace generic { |
---|
| 18 | namespace multiplier { |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 22 | { |
---|
| 23 | //-----[ fields ]------------------------------------------------------------ |
---|
[116] | 24 | public : uint32_t _size_data; |
---|
| 25 | public : bool _sign ; |
---|
| 26 | public : uint32_t _latency ; |
---|
| 27 | public : uint32_t _delay ; |
---|
[112] | 28 | |
---|
[116] | 29 | public : Tdata_t _mask ; |
---|
| 30 | // public : Tdata_t _shift_sign; |
---|
| 31 | |
---|
[112] | 32 | //-----[ methods ]----------------------------------------------------------- |
---|
[116] | 33 | public : Parameters (uint32_t size_data, |
---|
| 34 | bool sign , |
---|
| 35 | uint32_t latency , |
---|
| 36 | uint32_t delay , |
---|
| 37 | bool is_toplevel=false); |
---|
[112] | 38 | //public : Parameters (Parameters & param) ; |
---|
| 39 | public : ~Parameters (void); |
---|
| 40 | |
---|
| 41 | public : void copy (void); |
---|
| 42 | |
---|
| 43 | public : Parameters_test msg_error (void); |
---|
| 44 | |
---|
| 45 | public : std::string print (uint32_t depth); |
---|
| 46 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 47 | morpheo::behavioural::generic::multiplier::Parameters & x); |
---|
| 48 | }; |
---|
| 49 | |
---|
| 50 | }; // end namespace multiplier |
---|
| 51 | }; // end namespace generic |
---|
| 52 | |
---|
| 53 | }; // end namespace behavioural |
---|
| 54 | }; // end namespace morpheo |
---|
| 55 | |
---|
| 56 | #endif |
---|