Ignore:
Timestamp:
Oct 20, 2009, 8:52:15 PM (15 years ago)
Author:
rosiere
Message:

1) Add new algo in ifetch queue
2) Add Cancel bit
3) new config

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/include/Parameters.h

    r115 r136  
    2626  public : uint32_t                _nb_thread                                     ;
    2727  public : uint32_t              * _size_ifetch_queue                             ;//[nb_thread]
     28  public : morpheo::behavioural::core::multi_front_end::front_end::ifetch_unit::ifetch_queue::Tifetch_queue_scheme_t
     29                                 * _ifetch_queue_scheme                           ;//[nb_thread]
    2830  public : uint32_t              * _nb_inst_fetch                                 ;//[nb_thread]
    2931  public : bool                 ** _implement_group                               ;//[nb_thread][NB_GROUP]
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src/Instance.cpp

    r128 r136  
    172172        DELETE2(_param->_implement_group                        ,_param->_nb_thread,NB_GROUP);
    173173        DELETE1(_param->_nb_inst_fetch                          ,_param->_nb_thread);
     174        DELETE1(_param->_ifetch_queue_scheme                    ,_param->_nb_thread);
    174175        DELETE1(_param->_size_ifetch_queue                      ,_param->_nb_thread);
    175176       
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src/Instance_fromInternalStructure.cpp

    r115 r136  
    4242
    4343    ALLOC1(_param->_size_ifetch_queue,uint32_t,_param->_nb_thread);
     44    ALLOC1(_param->_ifetch_queue_scheme           ,morpheo::behavioural::core::multi_front_end::front_end::ifetch_unit::ifetch_queue::Tifetch_queue_scheme_t
     45                                              ,_param->_nb_thread);
    4446    ALLOC1(_param->_nb_inst_fetch    ,uint32_t,_param->_nb_thread);
    4547    ALLOC2(_param->_implement_group  ,bool    ,_param->_nb_thread,NB_GROUP);
     
    5254      //log_printf(INFO,Configuration,FUNCTION,_("THREAD [%d]"),i);
    5355
    54         _param->_size_ifetch_queue [i] = fromString<uint32_t>(getParam("size_ifetch_queue", "thread",toString(i).c_str(),""));
    55         _param->_nb_inst_fetch     [i] = fromString<uint32_t>(getParam("nb_inst_fetch"    , "thread",toString(i).c_str(),""));
    56         _param->_ras_size_queue    [i] = fromString<uint32_t>(getParam("ras_size_queue"   , "thread",toString(i).c_str(),""));
    57         _param->_upt_size_queue    [i] = fromString<uint32_t>(getParam("upt_size_queue"   , "thread",toString(i).c_str(),""));
    58         _param->_ufpt_size_queue   [i] = fromString<uint32_t>(getParam("ufpt_size_queue"  , "thread",toString(i).c_str(),""));
     56        _param->_size_ifetch_queue   [i] = fromString<uint32_t>(getParam("size_ifetch_queue"  , "thread",toString(i).c_str(),""));
     57        _param->_ifetch_queue_scheme [i] = fromString<morpheo::behavioural::core::multi_front_end::front_end::ifetch_unit::ifetch_queue::Tifetch_queue_scheme_t>
     58                                                               (getParam("ifetch_queue_scheme", "thread",toString(i).c_str(),""));
     59        _param->_nb_inst_fetch       [i] = fromString<uint32_t>(getParam("nb_inst_fetch"      , "thread",toString(i).c_str(),""));
     60        _param->_ras_size_queue      [i] = fromString<uint32_t>(getParam("ras_size_queue"     , "thread",toString(i).c_str(),""));
     61        _param->_upt_size_queue      [i] = fromString<uint32_t>(getParam("upt_size_queue"     , "thread",toString(i).c_str(),""));
     62        _param->_ufpt_size_queue     [i] = fromString<uint32_t>(getParam("ufpt_size_queue"    , "thread",toString(i).c_str(),""));
    5963
    6064        // just read !!!
Note: See TracChangeset for help on using the changeset viewer.