Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

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_deallocation.cpp

    r81 r88  
    2323    log_printf(FUNC,Address_management,FUNCTION,"Begin");
    2424
    25     if (_usage & USE_SYSTEMC)
     25    if (usage_is_set(_usage,USE_SYSTEMC))
    2626      {
    2727        delete    in_CLOCK ;
     
    3232        delete    out_ADDRESS_INSTRUCTION_ADDRESS        ;
    3333        delete [] out_ADDRESS_INSTRUCTION_ENABLE         ;
    34         if (_param->_have_port_instruction_ptr)
     34        if (_param->_have_port_inst_ifetch_ptr)
    3535        delete    out_ADDRESS_INST_IFETCH_PTR            ;
    3636        delete    out_ADDRESS_BRANCH_STATE               ;
    37         if (_param->_have_port_branch_update_prediction_id)
     37        if (_param->_have_port_depth)
    3838        delete    out_ADDRESS_BRANCH_UPDATE_PREDICTION_ID;
    3939        delete    out_PREDICT_VAL                        ;
     
    4545        delete     in_PREDICT_PC_NEXT_IS_DS_TAKE         ;
    4646        delete []  in_PREDICT_INSTRUCTION_ENABLE         ;
    47         if (_param->_have_port_instruction_ptr)
     47        if (_param->_have_port_inst_ifetch_ptr)
    4848        delete     in_PREDICT_INST_IFETCH_PTR            ;
    4949        delete     in_PREDICT_BRANCH_STATE               ;
    50         if (_param->_have_port_branch_update_prediction_id)
     50        if (_param->_have_port_depth)
    5151        delete     in_PREDICT_BRANCH_UPDATE_PREDICTION_ID;
    5252        delete     in_EVENT_VAL                          ;
    5353        delete    out_EVENT_ACK                          ;
    5454        delete     in_EVENT_ADDRESS                      ;
     55        delete     in_EVENT_ADDRESS_NEXT                 ;
     56        delete     in_EVENT_ADDRESS_NEXT_VAL             ;
     57        delete     in_EVENT_IS_DS_TAKE                   ;
     58     
     59        // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
     60        if (usage_is_set(_usage,USE_SYSTEMC))
     61          {
     62            delete reg_PC_CURRENT_INSTRUCTION_ENABLE;
     63            delete reg_PC_NEXT_INSTRUCTION_ENABLE   ;
     64          }
    5565      }
    5666
    57     // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    58     delete reg_PC_CURRENT_INSTRUCTION_ENABLE;
    59     delete reg_PC_NEXT_INSTRUCTION_ENABLE   ;
    6067
    6168    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
Note: See TracChangeset for help on using the changeset viewer.