[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" |
---|
[71] | 14 | #include "Common/include/BitManipulation.h" |
---|
[59] | 15 | #include <math.h> |
---|
| 16 | |
---|
| 17 | namespace morpheo { |
---|
| 18 | namespace behavioural { |
---|
| 19 | namespace core { |
---|
| 20 | namespace multi_execute_loop { |
---|
| 21 | namespace execute_loop { |
---|
| 22 | namespace multi_execute_unit { |
---|
| 23 | namespace execute_unit { |
---|
| 24 | namespace load_store_unit { |
---|
| 25 | |
---|
| 26 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 27 | { |
---|
| 28 | //-----[ fields ]------------------------------------------------------------ |
---|
[62] | 29 | public : const uint32_t _size_store_queue ; |
---|
| 30 | public : const uint32_t _size_load_queue ; |
---|
[59] | 31 | public : const uint32_t _size_speculative_access_queue; |
---|
[62] | 32 | public : const uint32_t _nb_port_check ; |
---|
| 33 | public : const Tspeculative_load_t _speculative_load ; |
---|
| 34 | //public : const uint32_t _nb_cache_port ; |
---|
| 35 | public : const uint32_t _nb_context ; |
---|
[71] | 36 | public : const uint32_t _nb_front_end ; |
---|
| 37 | public : const uint32_t _nb_ooo_engine ; |
---|
[62] | 38 | public : const uint32_t _nb_packet ; |
---|
| 39 | public : const uint32_t _size_general_data ; |
---|
| 40 | public : const uint32_t _nb_general_register ; |
---|
| 41 | public : const uint32_t _nb_operation ; |
---|
| 42 | public : const uint32_t _nb_type ; |
---|
[59] | 43 | |
---|
| 44 | public : const uint32_t _size_address_store_queue ; |
---|
| 45 | public : const uint32_t _size_address_load_queue ; |
---|
| 46 | public : const uint32_t _size_address_speculative_access_queue; |
---|
[62] | 47 | public : const uint32_t _size_context_id ; |
---|
[71] | 48 | public : const uint32_t _size_front_end_id ; |
---|
| 49 | public : const uint32_t _size_ooo_engine_id ; |
---|
[62] | 50 | public : const uint32_t _size_packet_id ; |
---|
| 51 | public : const uint32_t _size_general_register ; |
---|
| 52 | public : const uint32_t _size_operation ; |
---|
| 53 | public : const uint32_t _size_type ; |
---|
[71] | 54 | public : const uint32_t _size_dcache_context_id ; |
---|
| 55 | public : const uint32_t _size_dcache_packet_id ; |
---|
[59] | 56 | |
---|
[71] | 57 | public : const bool _have_port_context_id ; |
---|
| 58 | public : const bool _have_port_front_end_id ; |
---|
| 59 | public : const bool _have_port_ooo_engine_id ; |
---|
| 60 | public : const bool _have_port_packet_id ; |
---|
| 61 | public : const bool _have_port_dcache_context_id ; |
---|
| 62 | |
---|
| 63 | public : const Tdcache_address_t _mask_address_lsb ; |
---|
| 64 | public : const Tdcache_address_t _mask_address_msb ; |
---|
| 65 | |
---|
[59] | 66 | //-----[ methods ]----------------------------------------------------------- |
---|
| 67 | public : Parameters (uint32_t size_store_queue , |
---|
| 68 | uint32_t size_load_queue , |
---|
| 69 | uint32_t size_speculative_access_queue, |
---|
| 70 | uint32_t nb_port_check , |
---|
| 71 | Tspeculative_load_t speculative_load , |
---|
| 72 | uint32_t nb_context , |
---|
[71] | 73 | uint32_t nb_front_end , |
---|
| 74 | uint32_t nb_ooo_engine , |
---|
[59] | 75 | uint32_t nb_packet , |
---|
| 76 | uint32_t size_general_data , |
---|
| 77 | uint32_t nb_general_register , |
---|
| 78 | uint32_t nb_operation , |
---|
| 79 | uint32_t nb_type |
---|
| 80 | ); |
---|
[62] | 81 | |
---|
[59] | 82 | public : Parameters (Parameters & param) ; |
---|
| 83 | public : ~Parameters () ; |
---|
| 84 | |
---|
[71] | 85 | public : std::string msg_error (void); |
---|
[59] | 86 | |
---|
[71] | 87 | public : std::string print (uint32_t depth); |
---|
| 88 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 89 | morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::load_store_unit::Parameters & x); |
---|
[59] | 90 | }; |
---|
| 91 | |
---|
| 92 | }; // end namespace load_store_unit |
---|
| 93 | }; // end namespace execute_unit |
---|
| 94 | }; // end namespace multi_execute_unit |
---|
| 95 | }; // end namespace execute_loop |
---|
| 96 | }; // end namespace multi_execute_loop |
---|
| 97 | }; // end namespace core |
---|
| 98 | }; // end namespace behavioural |
---|
| 99 | }; // end namespace morpheo |
---|
| 100 | |
---|
| 101 | #endif |
---|