Ignore:
Timestamp:
Jul 15, 2009, 10:41:01 AM (15 years ago)
Author:
rosiere
Message:

1) valgrind fix
2) debug file on/off

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

    r124 r134  
    101101                Tgeneral_data_t addr = PORT_READ(in_IFETCH_ADDRESS [x])+y;
    102102
    103                 _decod_instruction->_instruction      = PORT_READ(in_IFETCH_INSTRUCTION [x][y]);
    104                 _decod_instruction->_context_id       = x;
    105                 _decod_instruction->_address_previous = internal_CONTEXT_ADDRESS_PREVIOUS [x];
    106                 _decod_instruction->_address          = addr; //Compute the current address
    107                 _decod_instruction->_address_next     = addr+1;
    108                 _decod_instruction->_is_delay_slot    = internal_CONTEXT_IS_DELAY_SLOT [x];
     103                _decod_instruction->_instruction        = PORT_READ(in_IFETCH_INSTRUCTION [x][y]);
     104                _decod_instruction->_context_id         = x;
     105                _decod_instruction->_address_previous   = internal_CONTEXT_ADDRESS_PREVIOUS [x];
     106                _decod_instruction->_address            = addr; //Compute the current address
     107                _decod_instruction->_address_next       = addr+1;
     108                _decod_instruction->_is_delay_slot      = internal_CONTEXT_IS_DELAY_SLOT [x];
     109                _decod_instruction->_type               = 0; // not necessary
     110                _decod_instruction->_operation          = 0; // not necessary
     111                _decod_instruction->_no_execute         = 0; // not necessary
     112                _decod_instruction->_has_immediat       = 0; // not necessary
     113                _decod_instruction->_immediat           = 0; // not necessary
     114                _decod_instruction->_read_ra            = 0; // not necessary
     115                _decod_instruction->_num_reg_ra         = 0; // not necessary
     116                _decod_instruction->_read_rb            = 0; // not necessary
     117                _decod_instruction->_num_reg_rb         = 0; // not necessary
     118                _decod_instruction->_read_rc            = 0; // not necessary
     119                _decod_instruction->_num_reg_rc         = 0; // not necessary
     120                _decod_instruction->_write_rd           = 0; // not necessary
     121                _decod_instruction->_num_reg_rd         = 0; // not necessary
     122                _decod_instruction->_write_re           = 0; // not necessary
     123                _decod_instruction->_num_reg_re         = 0; // not necessary
     124                _decod_instruction->_exception_use      = EXCEPTION_USE_NONE; // not necessary
     125                _decod_instruction->_exception          = EXCEPTION_DECOD_NONE; // not necessary
     126                _decod_instruction->_branch_condition   = 0; // not necessary
     127//              _decod_instruction->_branch_stack_write = 0; // not necessary
     128                _decod_instruction->_branch_direction   = 0; // not necessary
     129                _decod_instruction->_event_type         = EVENT_TYPE_NONE; // not necessary
     130               
     131
    109132
    110133                // Test IFetch exception
     
    181204                // Branch predictor can accept : the depth is valid
    182205                log_printf(TRACE,Decod,FUNCTION,"      * context_depth_val      : %d",PORT_READ(in_CONTEXT_DEPTH_VAL [x]));
     206
    183207                decod_val   [i]    &= PORT_READ(in_CONTEXT_DEPTH_VAL [x]);
    184208                ifetch_ack  [x][y] &= PORT_READ(in_CONTEXT_DEPTH_VAL [x]);
Note: See TracChangeset for help on using the changeset viewer.