Ignore:
Timestamp:
Feb 5, 2008, 5:21:20 PM (16 years ago)
Author:
rosiere
Message:
  • Add two component :
    • network between read unit and execute unit
    • network between execute unit and write unit
  • remove parameters "nb_operation" and "nb_type"
  • in write_queue add the special case : load_speculative
Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/src/Parameters.cpp

    r74 r77  
    2929                          uint32_t size_special_data  ,
    3030                          uint32_t nb_special_register,
    31                           uint32_t nb_operation       ,
    32                           uint32_t nb_type            ,
    3331                          uint32_t nb_bypass_write    ):
    3432    _size_write_queue        (size_write_queue   ),
     
    4240    _size_special_data       (size_special_data  ),
    4341    _nb_special_register     (nb_special_register),
    44     _nb_operation            (nb_operation       ),
    45     _nb_type                 (nb_type            ),
    4642    _nb_bypass_write         (nb_bypass_write    ),
    4743
     
    5551    _size_general_register   (log2(_nb_general_register)),
    5652    _size_special_register   (log2(_nb_special_register)),
    57     _size_operation          (log2(_nb_operation       )),
    58     _size_type               (log2(_nb_type            )),
    5953
    6054    _have_component_execute_queue (_size_execute_queue > 0),
     
    7569                                                                                                                                                    size_special_data  ,
    7670                                                                                                                                                    nb_special_register,
    77                                                                                                                                                     nb_operation       ,
    78                                                                                                                                                     nb_type            ,
    7971                                                                                                                                                    nb_bypass_write    );
    8072   
     
    8678                                                                                                                                                        nb_packet          ,
    8779                                                                                                                                                        size_general_data  ,
    88                                                                                                                                                         size_special_data  ,
    89                                                                                                                                                         nb_operation       ,
    90                                                                                                                                                         nb_type            );
     80                                                                                                                                                        size_special_data  );
    9181
    9282    test();
     
    10898    _size_special_data       (param._size_special_data      ),
    10999    _nb_special_register     (param._nb_special_register    ),
    110     _nb_operation            (param._nb_operation           ),
    111     _nb_type                 (param._nb_type                ),
    112100    _nb_bypass_write         (param._nb_bypass_write        ),
    113101
     
    121109    _size_general_register   (param._size_general_register  ),
    122110    _size_special_register   (param._size_special_register  ),
    123     _size_operation          (param._size_operation         ),
    124     _size_type               (param._size_type              ),
    125111
    126112    _have_component_execute_queue (param._have_component_execute_queue),
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/src/Parameters_print.cpp

    r74 r77  
    3737    xml.singleton_begin("size_special_data  "); xml.attribut("value",toString(_size_special_data  )); xml.singleton_end();
    3838    xml.singleton_begin("nb_special_register"); xml.attribut("value",toString(_nb_special_register)); xml.singleton_end();
    39     xml.singleton_begin("nb_operation       "); xml.attribut("value",toString(_nb_operation       )); xml.singleton_end();
    40     xml.singleton_begin("nb_type            "); xml.attribut("value",toString(_nb_type            )); xml.singleton_end();
    4139    xml.singleton_begin("nb_bypass_write    "); xml.attribut("value",toString(_nb_bypass_write    )); xml.singleton_end();
    4240    xml.balise_close();
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/src/Write_unit_allocation.cpp

    r76 r77  
    6666       ALLOC_SIGNAL_IN ( in_WRITE_UNIT_IN_PACKET_ID    ,"packet_id"    ,Tpacket_t         ,_param->_size_packet_id        );
    6767//     ALLOC_SIGNAL_IN ( in_WRITE_UNIT_IN_OPERATION    ,"operation"    ,Toperation_t      ,_param->_size_operation        );
    68 //     ALLOC_SIGNAL_IN ( in_WRITE_UNIT_IN_TYPE         ,"type"         ,Ttype_t           ,_param->_size_type             );
     68       ALLOC_SIGNAL_IN ( in_WRITE_UNIT_IN_TYPE         ,"type"         ,Ttype_t           ,_param->_size_type             );
    6969       ALLOC_SIGNAL_IN ( in_WRITE_UNIT_IN_WRITE_RD     ,"write_rd"     ,Tcontrol_t        ,1                              );
    7070       ALLOC_SIGNAL_IN ( in_WRITE_UNIT_IN_NUM_REG_RD   ,"num_reg_rd"   ,Tgeneral_address_t,_param->_size_general_register );
     
    199199       _component->port_map(name, "in_WRITE_QUEUE_IN_PACKET_ID"    , _name, "in_WRITE_UNIT_IN_PACKET_ID"    );
    200200     //_component->port_map(name, "in_WRITE_QUEUE_IN_OPERATION"    , _name, "in_WRITE_UNIT_IN_OPERATION"    );
    201      //_component->port_map(name, "in_WRITE_QUEUE_IN_TYPE"         , _name, "in_WRITE_UNIT_IN_TYPE"         );
     201       _component->port_map(name, "in_WRITE_QUEUE_IN_TYPE"         , _name, "in_WRITE_UNIT_IN_TYPE"         );
    202202       _component->port_map(name, "in_WRITE_QUEUE_IN_WRITE_RD"     , _name, "in_WRITE_UNIT_IN_WRITE_RD"     );
    203203       _component->port_map(name, "in_WRITE_QUEUE_IN_NUM_REG_RD"   , _name, "in_WRITE_UNIT_IN_NUM_REG_RD"   );
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/src/Write_unit_deallocation.cpp

    r74 r77  
    4040        delete      in_WRITE_UNIT_IN_PACKET_ID    ;
    4141//      delete      in_WRITE_UNIT_IN_OPERATION    ;
    42 //      delete      in_WRITE_UNIT_IN_TYPE         ;
     42        delete      in_WRITE_UNIT_IN_TYPE         ;
    4343        delete      in_WRITE_UNIT_IN_WRITE_RD     ;
    4444        delete      in_WRITE_UNIT_IN_NUM_REG_RD   ;
Note: See TracChangeset for help on using the changeset viewer.