Changeset 131 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/src/Direction_Glue.cpp
- Timestamp:
- Jul 8, 2009, 8:40:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Direction_Glue/src/Direction_Glue.cpp
r123 r131 84 84 // no need update 85 85 need_genmealy_update = false; 86 for (uint32_t i=0; i<_param->_nb_inst_update; i++)87 PORT_WRITE(out_UPDATE_ACK [i], 1);88 86 89 87 // always ack 90 88 for (uint32_t i=0; i<_param->_nb_inst_predict; i++) 91 89 { 92 PORT_WRITE(out_PREDICT_ACK [i], 1);93 94 90 // constant direction : never / always 95 91 switch (_param->_predictor_scheme) … … 98 94 { 99 95 need_genmealy_predict = false; 100 PORT_WRITE(out_PREDICT_DIRECTION [i], 0);101 96 break; 102 97 } … … 104 99 { 105 100 need_genmealy_predict = false; 106 PORT_WRITE(out_PREDICT_DIRECTION [i], 1);107 101 break; 108 102 } … … 111 105 } 112 106 } 107 108 #ifdef SYSTEMCASS_SPECIFIC 109 constant(); 110 #else 111 log_printf(INFO,Direction_Glue,FUNCTION,"Method - constant"); 112 113 SC_METHOD (constant); 114 // dont_initialize (); 115 116 # ifdef SYSTEMCASS_SPECIFIC 117 // List dependency information 118 # endif 119 #endif 113 120 114 121 # if defined(STATISTICS) or defined(VHDL_TESTBENCH)
Note: See TracChangeset
for help on using the changeset viewer.