Ignore:
Timestamp:
Feb 11, 2009, 12:03:25 AM (15 years ago)
Author:
rosiere
Message:

1) Fix test in Direction_Glue for Conditionnal Branch
2) Fix Instruction Address Compute

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/src/Decod_genMealy.cpp

    r105 r107  
    6767               (context_event_val == false)) // Have not a context_event (spr_access, exception, ...)
    6868          {
    69             predict_val [i] = false;
     69//          predict_val [i] = false;
    7070
    7171            Tcontext_t x = it->grp;
     
    106106                   
    107107                    instruction_decod (_decod_instruction, _decod_param[x]);
     108
     109                    log_printf(TRACE,Decod,FUNCTION,"    * address_next  : %.8x (%.8x)",_decod_instruction->_address_next,(_decod_instruction->_address_next<<2));
    108110                  }
    109111                else
     
    167169                  {
    168170                    log_printf(TRACE,Decod,FUNCTION,"    * type is branch");
     171                    log_printf(TRACE,Decod,FUNCTION,"      * predict_val  : %d",ifetch_ack [x][y]);
    169172                    log_printf(TRACE,Decod,FUNCTION,"      * predict_ack  : %d",PORT_READ(in_PREDICT_ACK [i]));
    170173
    171174                    log_printf(TRACE,Decod,FUNCTION,"      * address src  : %.8x (%.8x)",_decod_instruction->_address     ,_decod_instruction->_address     <<2);
    172175                    log_printf(TRACE,Decod,FUNCTION,"      * address dest : %.8x (%.8x)",_decod_instruction->_address_next,_decod_instruction->_address_next<<2);
    173 
     176                   
    174177                    predict_val [i]     = ifetch_ack  [x][y] // and decod_val [i]
    175178                      ;
Note: See TracChangeset for help on using the changeset viewer.