[78] | 1 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_branch_target_buffer_branch_target_buffer_register_Types_h |
---|
| 2 | #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_branch_target_buffer_branch_target_buffer_register_Types_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Types.h 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Behavioural/include/Types.h" |
---|
| 12 | |
---|
| 13 | namespace morpheo { |
---|
| 14 | namespace behavioural { |
---|
| 15 | namespace core { |
---|
| 16 | namespace multi_front_end { |
---|
| 17 | namespace front_end { |
---|
| 18 | namespace prediction_unit { |
---|
| 19 | namespace branch_target_buffer { |
---|
| 20 | namespace branch_target_buffer_register { |
---|
| 21 | |
---|
| 22 | class btb_entry_t |
---|
| 23 | { |
---|
| 24 | public : Tcontrol_t _val ; |
---|
| 25 | public : Tcontext_t _context ; |
---|
| 26 | public : Tcontrol_t _address_dest_val; // when the decod : address_dest_val = 0 when condition == READ_REGISTER or READ_STACK |
---|
| 27 | public : Tgeneral_data_t _address_src ; |
---|
| 28 | public : Tgeneral_data_t _address_dest ; |
---|
| 29 | public : Tbranch_condition_t _condition ; |
---|
| 30 | public : Tcontrol_t _last_take ; |
---|
| 31 | public : Tcounter_t _accurate ; |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | }; // end namespace branch_target_buffer_register |
---|
| 35 | }; // end namespace branch_target_buffer |
---|
| 36 | }; // end namespace prediction_unit |
---|
| 37 | }; // end namespace front_end |
---|
| 38 | }; // end namespace multi_front_end |
---|
| 39 | }; // end namespace core |
---|
| 40 | }; // end namespace behavioural |
---|
| 41 | }; // end namespace morpheo |
---|
| 42 | |
---|
| 43 | #endif |
---|