[15] | 1 | #ifndef morpheo_behavioural_generic_victim_victim_pseudo_lru_Parameters_h |
---|
| 2 | #define morpheo_behavioural_generic_victim_victim_pseudo_lru_Parameters_h |
---|
[10] | 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 <math.h> |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | namespace generic { |
---|
| 17 | namespace victim { |
---|
[15] | 18 | namespace victim_pseudo_lru { |
---|
[10] | 19 | |
---|
| 20 | |
---|
| 21 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 22 | { |
---|
| 23 | //-----[ fields ]------------------------------------------------------------ |
---|
| 24 | public : const uint32_t _nb_entity ; // number of entity |
---|
| 25 | public : const uint32_t _nb_access ; // number of port to select an entity |
---|
[78] | 26 | //public : const uint32_t _nb_update ; // number of port to update the internal entity |
---|
[15] | 27 | public : const uint32_t _size_table; // Size of victim_pseudo_lru's table |
---|
[78] | 28 | public : const bool _table_global; |
---|
| 29 | public : const uint32_t _size_address; |
---|
[10] | 30 | |
---|
| 31 | //-----[ methods ]----------------------------------------------------------- |
---|
| 32 | public : Parameters (uint32_t nb_entity , |
---|
| 33 | uint32_t nb_access , |
---|
[78] | 34 | // uint32_t nb_update , |
---|
| 35 | uint32_t size_table, |
---|
| 36 | bool table_global); |
---|
[88] | 37 | // public : Parameters (Parameters & param) ; |
---|
[10] | 38 | public : ~Parameters () ; |
---|
| 39 | |
---|
[88] | 40 | public : void copy (void); |
---|
| 41 | |
---|
[78] | 42 | public : Parameters_test msg_error (void); |
---|
[88] | 43 | |
---|
[78] | 44 | public : std::string print (uint32_t depth); |
---|
| 45 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 46 | morpheo::behavioural::generic::victim::victim_pseudo_lru::Parameters & x); |
---|
[10] | 47 | }; |
---|
| 48 | |
---|
[15] | 49 | }; // end namespace victim_pseudo_lru |
---|
[10] | 50 | }; // end namespace victim |
---|
| 51 | }; // end namespace generic |
---|
| 52 | |
---|
| 53 | }; // end namespace behavioural |
---|
| 54 | }; // end namespace morpheo |
---|
| 55 | |
---|
| 56 | #endif |
---|