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/src/Ifetch_unit_deallocation.cpp

    r81 r88  
    2222    log_printf(FUNC,Ifetch_unit,FUNCTION,"Begin");
    2323
    24     if (_usage & USE_SYSTEMC)
     24    if (usage_is_set(_usage,USE_SYSTEMC))
    2525      {
    2626        delete     in_CLOCK ;
     
    3030        delete     in_ICACHE_REQ_ACK                      ;
    3131      //delete    out_ICACHE_REQ_THREAD_ID                ;
    32         if (_param->_have_port_queue_ptr)
     32        if (_param->_have_port_ifetch_queue_ptr)
    3333        delete    out_ICACHE_REQ_PACKET_ID                ;
    3434        delete    out_ICACHE_REQ_ADDRESS                  ;
     
    3838        delete    out_ICACHE_RSP_ACK                      ;
    3939      //delete     in_ICACHE_RSP_THREAD_ID                ;
    40         if (_param->_have_port_queue_ptr)
     40        if (_param->_have_port_ifetch_queue_ptr)
    4141        delete     in_ICACHE_RSP_PACKET_ID                ;
    4242        delete []  in_ICACHE_RSP_INSTRUCTION              ;
     
    5151        delete     in_PREDICT_PC_NEXT_IS_DS_TAKE          ;
    5252        delete []  in_PREDICT_INSTRUCTION_ENABLE          ;
    53         if (_param->_have_port_instruction_ptr)
     53        if (_param->_have_port_inst_ifetch_ptr)
    5454        delete     in_PREDICT_INST_IFETCH_PTR             ;
    5555        delete     in_PREDICT_BRANCH_STATE                ;
    56         if (_param->_have_port_branch_update_prediction_id)
     56        if (_param->_have_port_depth)
    5757        delete     in_PREDICT_BRANCH_UPDATE_PREDICTION_ID ;
    5858
     
    6262      //delete    out_DECOD_CONTEXT_ID                    ;
    6363        delete    out_DECOD_ADDRESS                       ;
    64         if (_param->_have_port_instruction_ptr)
     64        if (_param->_have_port_inst_ifetch_ptr)
    6565        delete    out_DECOD_INST_IFETCH_PTR               ;
    6666        delete    out_DECOD_BRANCH_STATE                  ;
    67         if (_param->_have_port_branch_update_prediction_id)
     67        if (_param->_have_port_depth)
    6868        delete    out_DECOD_BRANCH_UPDATE_PREDICTION_ID   ;
    6969        delete    out_DECOD_EXCEPTION                     ;
     
    7272        delete    out_EVENT_ACK                           ;
    7373        delete     in_EVENT_ADDRESS                       ;
     74        delete     in_EVENT_ADDRESS_NEXT                  ;
     75        delete     in_EVENT_ADDRESS_NEXT_VAL              ;
     76        delete     in_EVENT_IS_DS_TAKE                    ;
    7477      }
    7578    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
Note: See TracChangeset for help on using the changeset viewer.