[59] | 1 | #ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_execute_unit_execute_unit_load_store_unit_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_execute_loop_execute_loop_multi_execute_unit_execute_unit_load_store_unit_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id$ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/include/Types.h" |
---|
| 12 | #include "Common/include/Debug.h" |
---|
| 13 | #include "Behavioural/include/Parameters.h" |
---|
| 14 | #include <math.h> |
---|
| 15 | |
---|
| 16 | namespace morpheo { |
---|
| 17 | namespace behavioural { |
---|
| 18 | namespace core { |
---|
| 19 | namespace multi_execute_loop { |
---|
| 20 | namespace execute_loop { |
---|
| 21 | namespace multi_execute_unit { |
---|
| 22 | namespace execute_unit { |
---|
| 23 | namespace load_store_unit { |
---|
| 24 | |
---|
| 25 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 26 | { |
---|
| 27 | //-----[ fields ]------------------------------------------------------------ |
---|
| 28 | public : const uint32_t _size_store_queue ; |
---|
| 29 | public : const uint32_t _size_load_queue ; |
---|
| 30 | public : const uint32_t _size_speculative_access_queue; |
---|
| 31 | public : const uint32_t _nb_port_check ; |
---|
| 32 | public : const Tspeculative_load_t _speculative_load ; |
---|
| 33 | public : const uint32_t _nb_context ; |
---|
| 34 | public : const uint32_t _nb_packet ; |
---|
| 35 | public : const uint32_t _size_general_data ; |
---|
| 36 | public : const uint32_t _nb_general_register ; |
---|
| 37 | public : const uint32_t _nb_operation ; |
---|
| 38 | public : const uint32_t _nb_type ; |
---|
| 39 | |
---|
| 40 | public : const uint32_t _size_address_store_queue ; |
---|
| 41 | public : const uint32_t _size_address_load_queue ; |
---|
| 42 | public : const uint32_t _size_address_speculative_access_queue; |
---|
| 43 | public : const uint32_t _size_context_id ; |
---|
| 44 | public : const uint32_t _size_packet_id ; |
---|
| 45 | public : const uint32_t _size_general_register ; |
---|
| 46 | public : const uint32_t _size_operation ; |
---|
| 47 | public : const uint32_t _size_type ; |
---|
| 48 | |
---|
| 49 | //-----[ methods ]----------------------------------------------------------- |
---|
| 50 | public : Parameters (uint32_t size_store_queue , |
---|
| 51 | uint32_t size_load_queue , |
---|
| 52 | uint32_t size_speculative_access_queue, |
---|
| 53 | uint32_t nb_port_check , |
---|
| 54 | Tspeculative_load_t speculative_load , |
---|
| 55 | uint32_t nb_context , |
---|
| 56 | uint32_t nb_packet , |
---|
| 57 | uint32_t size_general_data , |
---|
| 58 | uint32_t nb_general_register , |
---|
| 59 | uint32_t nb_operation , |
---|
| 60 | uint32_t nb_type |
---|
| 61 | ); |
---|
| 62 | public : Parameters (Parameters & param) ; |
---|
| 63 | public : ~Parameters () ; |
---|
| 64 | |
---|
| 65 | public : string msg_error (void); |
---|
| 66 | |
---|
| 67 | public : string print (uint32_t depth); |
---|
| 68 | public : friend ostream& operator<< (ostream& output_stream, |
---|
| 69 | morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::load_store_unit::Parameters & x); |
---|
| 70 | }; |
---|
| 71 | |
---|
| 72 | }; // end namespace load_store_unit |
---|
| 73 | }; // end namespace execute_unit |
---|
| 74 | }; // end namespace multi_execute_unit |
---|
| 75 | }; // end namespace execute_loop |
---|
| 76 | }; // end namespace multi_execute_loop |
---|
| 77 | }; // end namespace core |
---|
| 78 | }; // end namespace behavioural |
---|
| 79 | }; // end namespace morpheo |
---|
| 80 | |
---|
| 81 | #endif |
---|