[60] | 1 | #ifndef morpheo_behavioural_core_multi_execute_loop_execute_loop_register_unit_register_unit_glue_Parameters_h |
---|
| 2 | #define morpheo_behavioural_core_multi_execute_loop_execute_loop_register_unit_register_unit_glue_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 136 2009-10-20 18:52:15Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Common/include/Debug.h" |
---|
| 12 | #include "Behavioural/include/Parameters.h" |
---|
| 13 | #include <math.h> |
---|
| 14 | |
---|
| 15 | namespace morpheo { |
---|
| 16 | namespace behavioural { |
---|
| 17 | namespace core { |
---|
| 18 | namespace multi_execute_loop { |
---|
| 19 | namespace execute_loop { |
---|
| 20 | namespace register_unit { |
---|
| 21 | namespace register_unit_glue { |
---|
| 22 | |
---|
| 23 | |
---|
[88] | 24 | |
---|
| 25 | |
---|
[60] | 26 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 27 | { |
---|
| 28 | //-----[ fields ]------------------------------------------------------------ |
---|
[88] | 29 | public : uint32_t _nb_ooo_engine ; |
---|
| 30 | //public : uint32_t _size_general_data ; |
---|
| 31 | //public : uint32_t _size_special_data ; |
---|
| 32 | public : uint32_t _nb_gpr_read ; |
---|
| 33 | public : uint32_t _nb_spr_read ; |
---|
| 34 | public : uint32_t _nb_gpr_write ; |
---|
| 35 | public : uint32_t _nb_spr_write ; |
---|
[136] | 36 | public : uint32_t _nb_inst_issue ; |
---|
| 37 | // public : uint32_t * _nb_inst_insert_rob ; |
---|
| 38 | // public : uint32_t * _nb_inst_retire_rob ; |
---|
[60] | 39 | |
---|
[88] | 40 | //public : bool _have_port_ooo_engine_id; |
---|
[60] | 41 | |
---|
| 42 | //-----[ methods ]----------------------------------------------------------- |
---|
[88] | 43 | public : Parameters (uint32_t nb_ooo_engine , |
---|
| 44 | uint32_t size_general_data , |
---|
| 45 | uint32_t size_special_data , |
---|
| 46 | uint32_t nb_gpr_read , |
---|
| 47 | uint32_t nb_spr_read , |
---|
| 48 | uint32_t nb_gpr_write , |
---|
| 49 | uint32_t nb_spr_write , |
---|
[136] | 50 | uint32_t nb_inst_issue , |
---|
| 51 | // uint32_t * nb_inst_insert_rob , |
---|
| 52 | // uint32_t * nb_inst_retire_rob , |
---|
[88] | 53 | bool is_toplevel=false); |
---|
| 54 | //public : Parameters (Parameters & param) ; |
---|
[60] | 55 | public : ~Parameters () ; |
---|
[88] | 56 | |
---|
| 57 | public : void copy (void); |
---|
| 58 | |
---|
[78] | 59 | public : Parameters_test msg_error (void); |
---|
[60] | 60 | |
---|
[75] | 61 | public : std::string print (uint32_t depth); |
---|
| 62 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 63 | morpheo::behavioural::core::multi_execute_loop::execute_loop::register_unit::register_unit_glue::Parameters & x); |
---|
[60] | 64 | }; |
---|
| 65 | |
---|
| 66 | }; // end namespace register_unit_glue |
---|
| 67 | }; // end namespace register_unit |
---|
| 68 | }; // end namespace execute_loop |
---|
| 69 | }; // end namespace multi_execute_loop |
---|
| 70 | }; // end namespace core |
---|
| 71 | |
---|
| 72 | }; // end namespace behavioural |
---|
| 73 | }; // end namespace morpheo |
---|
| 74 | |
---|
| 75 | #endif |
---|