Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register/src/Parameters_msg_error.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Register/src/Parameters_msg_error.cpp
r81 r88 29 29 30 30 if (_size_counter < 2 ) 31 test.error( "size_counter must be >= 2.");31 test.error(_("size_counter must be >= 2.\n")); 32 32 33 33 if ((_associativity == 0) or 34 34 (_associativity > _size_buffer)) 35 test.error( "associativity must be > 0 and <= size_buffer.");35 test.error(_("associativity must be > 0 and <= size_buffer.\n")); 36 36 37 37 if (_associativity == 1) // special case : full assoc and direct map ... also we print direct map 38 test.information( "Branch Target Buffer is Direct Map");38 test.information(_("Branch Target Buffer is Direct Map.\n")); 39 39 else 40 40 if (_associativity == _size_buffer) 41 test.information( "Branch Target Buffer is Full associative");41 test.information(_("Branch Target Buffer is Full associative.\n")); 42 42 else 43 test.information( "Branch Target Buffer is Semi associative");43 test.information(_("Branch Target Buffer is Semi associative.\n")); 44 44 45 45 for (uint32_t i=0; i<_nb_context; i++) 46 46 if (_associativity < (_nb_instruction[i]/2)) 47 test.error( "associativity must be >= nb_instruction["+toString(i)+"]/2.");47 test.error(toString(_("associativity must be >= nb_instruction[%d]/2.\n"),i)); 48 48 49 49 log_printf(FUNC,Branch_Target_Buffer_Register,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.