[145] | 1 | #ifndef morpheo_behavioural_generic_registerfile_registerfile_internal_banked_Parameters_h |
---|
| 2 | #define morpheo_behavioural_generic_registerfile_registerfile_internal_banked_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 145 2010-10-13 18:15:51Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Common/include/Debug.h" |
---|
| 12 | #include "Behavioural/include/Parameters.h" |
---|
| 13 | #include <math.h> |
---|
| 14 | |
---|
| 15 | namespace morpheo { |
---|
| 16 | namespace behavioural { |
---|
| 17 | namespace generic { |
---|
| 18 | namespace registerfile { |
---|
| 19 | namespace registerfile_internal_banked { |
---|
| 20 | |
---|
| 21 | #define PTR_IS_REGFILE |
---|
| 22 | |
---|
| 23 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 24 | { |
---|
| 25 | public : uint32_t _nb_port_read ; |
---|
| 26 | public : uint32_t _nb_port_write; |
---|
| 27 | public : uint32_t _nb_word ; |
---|
| 28 | public : uint32_t _size_word ; |
---|
| 29 | public : std::string _init_value ; |
---|
| 30 | |
---|
| 31 | public : const uint32_t _nb_internal_port_read ; |
---|
| 32 | public : const uint32_t _nb_internal_port_write; |
---|
| 33 | |
---|
| 34 | public : uint32_t _size_address; |
---|
| 35 | public : uint32_t _size_ptr_write; |
---|
| 36 | public : bool _have_port_address; |
---|
| 37 | public : bool _have_init_value; |
---|
| 38 | |
---|
| 39 | public : Parameters (uint32_t nb_port_read , |
---|
| 40 | uint32_t nb_port_write, |
---|
| 41 | uint32_t nb_word , |
---|
| 42 | uint32_t size_word , |
---|
| 43 | std::string init_value=""); |
---|
| 44 | // public : Parameters (Parameters & param) ; |
---|
| 45 | public : ~Parameters () ; |
---|
| 46 | |
---|
| 47 | public : void copy (void); |
---|
| 48 | |
---|
| 49 | public : Parameters_test msg_error (void); |
---|
| 50 | |
---|
| 51 | public : std::string print (uint32_t depth); |
---|
| 52 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 53 | morpheo::behavioural::generic::registerfile::registerfile_internal_banked::Parameters & x); |
---|
| 54 | }; |
---|
| 55 | |
---|
| 56 | }; // end namespace registerfile_internal_banked |
---|
| 57 | }; // end namespace registerfile |
---|
| 58 | }; // end namespace generic |
---|
| 59 | }; // end namespace behavioural |
---|
| 60 | }; // end namespace morpheo |
---|
| 61 | |
---|
| 62 | #endif |
---|