Ignore:
Timestamp:
Jul 11, 2009, 6:39:35 PM (15 years ago)
Author:
rosiere
Message:

1) add constant method - compatibility with SystemC
2) add Script to test sensitive list
3) fix bug in sensitive list

File:
1 edited

Legend:

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

    r123 r132  
    2121  void Ifetch_queue::genMoore (void)
    2222  {
    23     log_printf(FUNC,Ifetch_queue,FUNCTION,"Begin");
     23    log_begin(Ifetch_queue,FUNCTION);
     24    log_function(Ifetch_queue,FUNCTION,_name.c_str());
    2425
    2526    if (PORT_READ(in_NRESET))
     
    3031    {
    3132      internal_ADDRESS_ACK = (_queue[reg_PTR_WRITE]->_state == IFETCH_QUEUE_STATE_EMPTY);
    32      
     33 
     34      log_printf(TRACE,Ifetch_queue,FUNCTION,"  * ADDRESS_ACK : %d",internal_ADDRESS_ACK);
     35     
    3336      if (_param->_have_port_ifetch_queue_ptr)
    3437      PORT_WRITE(out_ADDRESS_IFETCH_QUEUE_ID, reg_PTR_WRITE);
     
    4447        {
    4548          internal_DECOD_VAL [i] = ack and _queue[reg_PTR_READ]->_instruction_enable [i];
     49
     50          log_printf(TRACE,Ifetch_queue,FUNCTION,"  * DECOD_VAL [%d] : %d",i,internal_DECOD_VAL [i]);
     51
    4652          PORT_WRITE(out_DECOD_INSTRUCTION [i],         _queue[reg_PTR_READ]->_instruction        [i]);
    4753        }
     
    7076    PORT_WRITE(out_DECOD_VAL [i], internal_DECOD_VAL [i]);
    7177
    72     log_printf(FUNC,Ifetch_queue,FUNCTION,"End");
     78    log_end(Ifetch_queue,FUNCTION);
    7379  };
    7480
Note: See TracChangeset for help on using the changeset viewer.