Ignore:
Timestamp:
May 13, 2008, 8:04:50 PM (16 years ago)
Author:
rosiere
Message:

Change Address_manager :

  • before : pc_previous, pc_current, pc_next
  • now : pc_current, pc_next, pc_next_next.

pc_next is send at the prediction_unit, it return the instruction_enable and pc_next_next

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Address_management/src/Address_management_genMoore.cpp

    r81 r84  
    4545    // =========================================
    4646
    47     internal_PREDICT_VAL = reg_PC_PREVIOUS_VAL and not reg_PC_NEXT_VAL;
     47    internal_PREDICT_VAL = not reg_PC_NEXT_NEXT_VAL;
    4848
    4949    PORT_WRITE(out_PREDICT_VAL                  ,internal_PREDICT_VAL);
    50     PORT_WRITE(out_PREDICT_PC_PREVIOUS          ,reg_PC_PREVIOUS          );
    51     PORT_WRITE(out_PREDICT_PC_CURRENT           ,reg_PC_CURRENT           );
    52     PORT_WRITE(out_PREDICT_PC_CURRENT_IS_DS_TAKE,reg_PC_CURRENT_IS_DS_TAKE);
     50    PORT_WRITE(out_PREDICT_PC_PREVIOUS          ,reg_PC_CURRENT        );
     51    PORT_WRITE(out_PREDICT_PC_CURRENT           ,reg_PC_NEXT           );
     52    PORT_WRITE(out_PREDICT_PC_CURRENT_IS_DS_TAKE,reg_PC_NEXT_IS_DS_TAKE);
    5353   
    54 
    55 
    5654    log_printf(FUNC,Address_management,FUNCTION,"End");
    5755  };
Note: See TracChangeset for help on using the changeset viewer.