[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: Parameters.h 104 2009-01-21 21:53:13Z rosiere $ |
---|
| 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 ]------------------------------------------------------------ |
---|
[88] | 29 | public : uint32_t _size_store_queue ; |
---|
| 30 | public : uint32_t _size_load_queue ; |
---|
| 31 | public : uint32_t _size_speculative_access_queue; |
---|
| 32 | public : uint32_t _nb_port_check ; |
---|
| 33 | public : Tspeculative_load_t _speculative_load ; |
---|
| 34 | public : uint32_t _nb_bypass_memory ; |
---|
| 35 | public : uint32_t _nb_cache_port ; |
---|
| 36 | public : uint32_t _nb_inst_memory ; |
---|
| 37 | public : uint32_t _nb_context ; |
---|
| 38 | public : uint32_t _nb_front_end ; |
---|
| 39 | public : uint32_t _nb_ooo_engine ; |
---|
| 40 | public : uint32_t _nb_packet ; |
---|
| 41 | //public : uint32_t _size_general_data ; |
---|
| 42 | //public : uint32_t _size_special_data ; |
---|
| 43 | public : uint32_t _nb_general_register ; |
---|
| 44 | public : uint32_t _nb_special_register ; |
---|
[59] | 45 | |
---|
[88] | 46 | //public : uint32_t _size_address_store_queue ; |
---|
| 47 | //public : uint32_t _size_address_load_queue ; |
---|
| 48 | public : uint32_t _size_speculative_access_queue_ptr ; |
---|
| 49 | //public : uint32_t _size_context_id ; |
---|
| 50 | //public : uint32_t _size_front_end_id ; |
---|
| 51 | //public : uint32_t _size_ooo_engine_id ; |
---|
| 52 | //public : uint32_t _size_packet_id ; |
---|
| 53 | //public : uint32_t _size_general_register ; |
---|
| 54 | //public : uint32_t _size_special_register ; |
---|
| 55 | public : uint32_t _size_dcache_context_id ; |
---|
| 56 | public : uint32_t _size_dcache_packet_id ; |
---|
[59] | 57 | |
---|
[88] | 58 | //public : bool _have_port_context_id ; |
---|
| 59 | //public : bool _have_port_front_end_id ; |
---|
| 60 | //public : bool _have_port_ooo_engine_id ; |
---|
| 61 | //public : bool _have_port_packet_id ; |
---|
| 62 | public : bool _have_port_dcache_context_id ; |
---|
| 63 | //public : bool _have_port_load_queue_ptr ; |
---|
[71] | 64 | |
---|
[88] | 65 | public : Tdcache_address_t _mask_address_lsb ; |
---|
| 66 | public : Tdcache_address_t _mask_address_msb ; |
---|
[104] | 67 | public : Tdcache_address_t _mask_check_hit_byte ; |
---|
| 68 | |
---|
[59] | 69 | //-----[ methods ]----------------------------------------------------------- |
---|
| 70 | public : Parameters (uint32_t size_store_queue , |
---|
| 71 | uint32_t size_load_queue , |
---|
| 72 | uint32_t size_speculative_access_queue, |
---|
| 73 | uint32_t nb_port_check , |
---|
| 74 | Tspeculative_load_t speculative_load , |
---|
[78] | 75 | uint32_t nb_bypass_memory , |
---|
[88] | 76 | uint32_t nb_cache_port , |
---|
| 77 | uint32_t nb_inst_memory , |
---|
[59] | 78 | uint32_t nb_context , |
---|
[71] | 79 | uint32_t nb_front_end , |
---|
| 80 | uint32_t nb_ooo_engine , |
---|
[59] | 81 | uint32_t nb_packet , |
---|
| 82 | uint32_t size_general_data , |
---|
[78] | 83 | uint32_t size_special_data , |
---|
| 84 | uint32_t nb_general_register , |
---|
[88] | 85 | uint32_t nb_special_register , |
---|
| 86 | bool is_toplevel=false); |
---|
[62] | 87 | |
---|
[88] | 88 | // public : Parameters (Parameters & param) ; |
---|
| 89 | |
---|
[59] | 90 | public : ~Parameters () ; |
---|
| 91 | |
---|
[88] | 92 | public : void copy (void); |
---|
| 93 | |
---|
[78] | 94 | public : Parameters_test msg_error (void); |
---|
[59] | 95 | |
---|
[71] | 96 | public : std::string print (uint32_t depth); |
---|
| 97 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 98 | morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::load_store_unit::Parameters & x); |
---|
[59] | 99 | }; |
---|
| 100 | |
---|
| 101 | }; // end namespace load_store_unit |
---|
| 102 | }; // end namespace execute_unit |
---|
| 103 | }; // end namespace multi_execute_unit |
---|
| 104 | }; // end namespace execute_loop |
---|
| 105 | }; // end namespace multi_execute_loop |
---|
| 106 | }; // end namespace core |
---|
| 107 | }; // end namespace behavioural |
---|
| 108 | }; // end namespace morpheo |
---|
| 109 | |
---|
| 110 | #endif |
---|