Ignore:
Timestamp:
Jan 21, 2009, 10:53:13 PM (15 years ago)
Author:
rosiere
Message:

Fix Bug :
1) Load Store Unit : check big endian
2) Commit unit & RAT : add retire_event interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Load_store_unit_function_speculative_load_commit_genMoore.cpp

    r101 r104  
    7474            log_printf(TRACE,Load_store_unit,FUNCTION,"    * data (old) : %.8x",data_old);
    7575            log_printf(TRACE,Load_store_unit,FUNCTION,"    * data (new) : %.8x",data_new);
     76            log_printf(TRACE,Load_store_unit,FUNCTION,"      * address      : %.8x",_load_queue [internal_MEMORY_OUT_PTR]._address);
    7677            log_printf(TRACE,Load_store_unit,FUNCTION,"      * rdata        : %.8x",_load_queue [internal_MEMORY_OUT_PTR]._rdata);
    7778            log_printf(TRACE,Load_store_unit,FUNCTION,"      * shift        : %d",_load_queue [internal_MEMORY_OUT_PTR]._shift);
     
    8687            memory_out_data_rd       = (have_exception)?data_old:data_new;
    8788            memory_out_exception     = (_load_queue[internal_MEMORY_OUT_PTR]._state == LOAD_QUEUE_COMMIT_CHECK)?EXCEPTION_MEMORY_LOAD_SPECULATIVE:exception;
     89
     90            log_printf(TRACE,Load_store_unit,FUNCTION,"      * exception    : %d",exception);
     91            log_printf(TRACE,Load_store_unit,FUNCTION,"      * exception    : %d",memory_out_exception);
    8892
    8993            break; // we have find a entry !!! stop the search
     
    203207            // FIXME : il peut avoir plusieurs store avec le même paquet_id ... pour l'instant pas très grave car pas de retour (enfin seul les bus error sont des retours)
    204208            dcache_req_packet_id  = DCACHE_REQ_IS_STORE(reg_STORE_QUEUE_PTR_READ);
    205             dcache_req_address    = _store_queue [reg_STORE_QUEUE_PTR_READ]._address   ;
     209            dcache_req_address    = _store_queue [reg_STORE_QUEUE_PTR_READ]._address;
    206210            dcache_req_type       = operation_to_dcache_type(_store_queue [reg_STORE_QUEUE_PTR_READ]._operation);
    207             dcache_req_wdata      = _store_queue [reg_STORE_QUEUE_PTR_READ]._wdata     ;
     211            dcache_req_wdata      = _store_queue [reg_STORE_QUEUE_PTR_READ]._wdata;
    208212          }
    209213      }
Note: See TracChangeset for help on using the changeset viewer.