Ignore:
Timestamp:
Feb 2, 2008, 12:39:01 PM (16 years ago)
Author:
rosiere
Message:

Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script

File:
1 edited

Legend:

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

    r72 r76  
    3030                          uint32_t           nb_operation       ,
    3131                          uint32_t           nb_type            ,
    32                           execute_timing_t * timing             ,
     32                          execute_timing_t** timing             ,
    3333                          morpheo::behavioural::custom::custom_information_t (*get_custom_information) (uint32_t)) :
    3434    _nb_context              (nb_context            ),
     
    4242    _nb_operation            (nb_operation          ),
    4343    _nb_type                 (nb_type               ),
    44     _timing                  (timing                ),
    4544   
    4645    _size_context_id         (log2(nb_context      )),
     
    5857    _have_port_packet_id     (_size_packet_id     > 0),
    5958
    60     _have_groupe_MAC         ( (_timing[OPERATION_ALU_L_MAC  ]._latence > 0) or
    61                                (_timing[OPERATION_ALU_L_MACRC]._latence > 0) or
    62                                (_timing[OPERATION_ALU_L_MSB  ]._latence > 0))
     59    _have_groupe_MAC         ( (timing[TYPE_SPECIAL][OPERATION_SPECIAL_L_MAC  ]._latence > 0) or
     60                               (timing[TYPE_SPECIAL][OPERATION_SPECIAL_L_MACRC]._latence > 0) or
     61                               (timing[TYPE_SPECIAL][OPERATION_SPECIAL_L_MSB  ]._latence > 0))
    6362  {
    6463    log_printf(FUNC,Functionnal_unit,FUNCTION,"Begin");
    6564
     65    _timing                 = timing;
    6666    _get_custom_information = get_custom_information;
    6767
    6868    test();
     69
    6970    log_printf(FUNC,Functionnal_unit,FUNCTION,"End");
    7071  };
     
    8384    _nb_operation            (param._nb_operation           ),
    8485    _nb_type                 (param._nb_type                ),
    85     _timing                  (param._timing                 ),
    8686
    8787    _size_context_id         (param._size_context_id        ),
     
    103103    log_printf(FUNC,Functionnal_unit,FUNCTION,"Begin");
    104104
     105    _timing                 = param._timing;
    105106    _get_custom_information = param._get_custom_information;
    106107
Note: See TracChangeset for help on using the changeset viewer.