Ignore:
Timestamp:
Jun 8, 2009, 10:43:30 PM (15 years ago)
Author:
rosiere
Message:

1) Fix performance
2) add auto generation to SPECINT2000
3) add reset in genMoore and genMealy

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src/Core.cpp

    r88 r123  
    3636    usage_environment(_usage);
    3737
    38 #if DEBUG_Core == true
    39     log_printf(INFO,Core,FUNCTION,_("<%s> Parameters"),_name.c_str());
     38// #if DEBUG_Core == true
     39//     log_printf(INFO,Core,FUNCTION,_("<%s> Parameters"),_name.c_str());
    4040
    41     std::cout << *param << std::endl;
    42 #endif   
     41//     std::cout << *param << std::endl;
     42// #endif   
    4343
    4444    log_printf(INFO,Core,FUNCTION,_("<%s> Allocation"),_name.c_str());
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src/Core_allocation.cpp

    r122 r123  
    468468              COMPONENT_MAP(_component,src , "in_RENAME_"+toString(j)+"_"+toString(k)+"_NO_EXECUTE"   ,
    469469                                       dest,"out_DECOD_"                 +toString(k)+"_NO_EXECUTE"   );
     470//               COMPONENT_MAP(_component,src , "in_RENAME_"+toString(j)+"_"+toString(k)+"_HAVE_EVENT"   ,
     471//                                        dest,"out_DECOD_"                 +toString(k)+"_HAVE_EVENT"   );
     472              COMPONENT_MAP(_component,src , "in_RENAME_"+toString(j)+"_"+toString(k)+"_LAST_EVENT"   ,
     473                                       dest,"out_DECOD_"                 +toString(k)+"_LAST_EVENT"   );
    470474              COMPONENT_MAP(_component,src , "in_RENAME_"+toString(j)+"_"+toString(k)+"_IS_DELAY_SLOT",
    471475                                       dest,"out_DECOD_"                 +toString(k)+"_IS_DELAY_SLOT");
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src/Core_deallocation.cpp

    r122 r123  
    5959    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    6060
    61     delete    _component_glue;
    62     delete    _component_dcache_access;
    63     delete    _component_icache_access;
    64     for (uint32_t i=0; i<_param->_nb_execute_loop; ++i)
    65     delete    _component_execute_loop [i];
    66     delete [] _component_execute_loop;
    67     for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i)
    68     delete    _component_ooo_engine [i];
    69     delete [] _component_ooo_engine;
    70     for (uint32_t i=0; i<_param->_nb_front_end; ++i)
    71     delete    _component_front_end [i];
    72     delete [] _component_front_end;
     61    delete _component;
    7362
    74     delete _component;
     63//     delete    _component_glue;
     64//     delete    _component_dcache_access;
     65//     delete    _component_icache_access;
     66//     for (uint32_t i=0; i<_param->_nb_execute_loop; ++i)
     67//     delete    _component_execute_loop [i];
     68//     delete [] _component_execute_loop;
     69//     for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i)
     70//     delete    _component_ooo_engine [i];
     71//     delete [] _component_ooo_engine;
     72//     for (uint32_t i=0; i<_param->_nb_front_end; ++i)
     73//     delete    _component_front_end [i];
     74//     delete [] _component_front_end;
    7575
    7676    log_end(Core,FUNCTION);
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/src/Parameters.cpp

    r122 r123  
    21812181    log_begin(Core,FUNCTION);
    21822182
    2183     for (uint32_t i=0; i<_nb_front_end; ++i)
    2184     delete    _param_front_end [i];
    2185     delete [] _param_front_end;
    2186     for (uint32_t i=0; i<_nb_ooo_engine; ++i)
    2187     delete    _param_ooo_engine [i];
    2188     delete [] _param_ooo_engine;
    2189     for (uint32_t i=0; i<_nb_execute_loop; ++i)
    2190     delete    _param_execute_loop [i];
    2191     delete [] _param_execute_loop;
    2192     delete    _param_icache_access;
    2193     delete    _param_dcache_access;
    2194     delete    _param_glue;
     2183//     for (uint32_t i=0; i<_nb_front_end; ++i)
     2184//     delete    _param_front_end [i];
     2185//     delete [] _param_front_end;
     2186//     for (uint32_t i=0; i<_nb_ooo_engine; ++i)
     2187//     delete    _param_ooo_engine [i];
     2188//     delete [] _param_ooo_engine;
     2189//     for (uint32_t i=0; i<_nb_execute_loop; ++i)
     2190//     delete    _param_execute_loop [i];
     2191//     delete [] _param_execute_loop;
     2192//     delete    _param_icache_access;
     2193//     delete    _param_dcache_access;
     2194//     delete    _param_glue;
    21952195
    21962196    DELETE3(_dcache_access_translate_load_store_unit_to_thread      ,_nb_execute_loop,_execute_loop_nb_load_store_unit[it1],_dcache_access_nb_context[it1]);
Note: See TracChangeset for help on using the changeset viewer.