[10] | 1 | #ifndef morpheo_behavioural_generic_registerfile_multi_banked_registerfile_multi_banked_glue_Parameters_h |
---|
| 2 | #define morpheo_behavioural_generic_registerfile_multi_banked_registerfile_multi_banked_glue_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id$ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "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_multi_banked { |
---|
| 19 | namespace registerfile_multi_banked_glue { |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 23 | { |
---|
| 24 | //-----[ fields ]------------------------------------------------------------ |
---|
| 25 | public : const uint32_t _nb_port_read ; |
---|
| 26 | public : const uint32_t _nb_port_write ; |
---|
| 27 | public : const uint32_t _size_address ; |
---|
| 28 | public : const uint32_t _size_word ; |
---|
| 29 | public : const uint32_t _nb_bank ; |
---|
| 30 | |
---|
| 31 | public : const uint32_t _nb_port_read_by_bank ; |
---|
| 32 | public : const uint32_t _nb_port_write_by_bank; |
---|
| 33 | |
---|
| 34 | //-----[ methods ]----------------------------------------------------------- |
---|
| 35 | public : Parameters (uint32_t nb_port_read , |
---|
| 36 | uint32_t nb_port_write, |
---|
| 37 | uint32_t size_address , |
---|
| 38 | uint32_t size_word , |
---|
| 39 | uint32_t nb_bank ); |
---|
| 40 | public : Parameters (Parameters & param) ; |
---|
| 41 | public : ~Parameters () ; |
---|
| 42 | |
---|
| 43 | public : string msg_error (void); |
---|
| 44 | |
---|
| 45 | public : string print (uint32_t depth); |
---|
| 46 | public : friend ostream& operator<< (ostream& output_stream, |
---|
| 47 | morpheo::behavioural::generic::registerfile_multi_banked::registerfile_multi_banked_glue::Parameters & x); |
---|
| 48 | }; |
---|
| 49 | |
---|
| 50 | }; // end namespace registerfile_multi_banked_glue |
---|
| 51 | }; // end namespace registerfile_multi_banked |
---|
| 52 | }; // end namespace generic |
---|
| 53 | |
---|
| 54 | }; // end namespace behavioural |
---|
| 55 | }; // end namespace morpheo |
---|
| 56 | |
---|
| 57 | #endif |
---|