Ignore:
Timestamp:
May 1, 2008, 6:48:45 PM (16 years ago)
Author:
rosiere
Message:
  • support locale (now must "just" translate)
  • update all component with new test format
  • update all component with usage
  • New component : decod queue and prediction_unit
Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src
Files:
13 edited

Legend:

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

    • Property svn:keywords deleted
    r81 r82  
    3131    ,_usage            (usage)
    3232  {
    33     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     33    log_begin(@COMPONENT,FUNCTION);
    3434
    3535    usage_environment(_usage);
    3636
    37     log_printf(INFO,@COMPONENT,FUNCTION,"Allocation");
     37    log_printf(INFO,@COMPONENT,FUNCTION,_("Allocation"));
    3838
    3939    allocation (
     
    4646    if (usage_is_set(_usage,USE_STATISTICS))
    4747      {
    48         log_printf(INFO,@COMPONENT,FUNCTION,"Allocation of statistics");
     48        log_printf(INFO,@COMPONENT,FUNCTION,_("Allocation of statistics"));
    4949
    5050        statistics_allocation(param_statistics);
     
    5656      {
    5757        // generate the vhdl
    58         log_printf(INFO,@COMPONENT,FUNCTION,"Generate the vhdl");
     58        log_printf(INFO,@COMPONENT,FUNCTION,_("Generate the vhdl"));
    5959       
    6060        vhdl();
     
    6565    if (usage_is_set(_usage,USE_SYSTEMC))
    6666      {
    67         log_printf(INFO,@COMPONENT,FUNCTION,"Method - transition");
     67        log_printf(INFO,@COMPONENT,FUNCTION,_("Method - transition"));
    6868
    6969        SC_METHOD (transition);
     
    7777#endif
    7878      }
    79     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     79    log_end(@COMPONENT,FUNCTION);
    8080  };
    8181   
     
    8484  @COMPONENT::~@COMPONENT (void)
    8585  {
    86     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     86    log_begin(@COMPONENT,FUNCTION);
    8787
    8888#ifdef STATISTICS
     
    9393#endif
    9494
    95     log_printf(INFO,@COMPONENT,FUNCTION,"Deallocation");
     95    log_printf(INFO,@COMPONENT,FUNCTION,_("Deallocation"));
    9696    deallocation ();
    9797
    98     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     98    log_end(@COMPONENT,FUNCTION);
    9999  };
    100100
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_allocation.cpp

    • Property svn:keywords deleted
    r81 r82  
    88#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
    99#include "Behavioural/include/Allocation.h"
     10#include "Common/include/Max.h"
    1011
    1112namespace morpheo                    {
     
    2425                               )
    2526  {
    26     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     27    log_begin(@COMPONENT,FUNCTION);
    2728
    2829    _component   = new Component (_usage);
     
    4344                                                         ,IN
    4445                                                         ,SOUTH,
    45                                                          "Generalist interface"
     46                                                         _("Generalist interface")
    4647#endif
    4748                                                         );
     
    5758#endif
    5859
    59     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     60    log_end(@COMPONENT,FUNCTION);
    6061  };
    6162
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_deallocation.cpp

    • Property svn:keywords deleted
    r81 r82  
    1717  void @COMPONENT::deallocation (void)
    1818  {
    19     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     19    log_begin(@COMPONENT,FUNCTION);
    2020
    2121    if (usage_is_set(_usage,USE_SYSTEMC))
     
    2828    delete _component;
    2929
    30     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     30    log_end(@COMPONENT,FUNCTION);
    3131  };
    3232
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_end_cycle.cpp

    • Property svn:keywords deleted
    r81 r82  
    1717void @COMPONENT::end_cycle ()
    1818  {
    19     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     19    log_begin(@COMPONENT,FUNCTION);
    2020
    2121#ifdef STATISTICS
     
    3131#endif
    3232
    33     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     33    log_end(@COMPONENT,FUNCTION);
    3434  };
    3535
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_statistics_allocation.cpp

    • Property svn:keywords deleted
    r81 r82  
    1717  void @COMPONENT::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
    1818  {
    19     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     19    log_begin(@COMPONENT,FUNCTION);
    2020
    2121    _stat = new Stat (static_cast<std::string>(_name),
     
    2323                      param_statistics);
    2424   
    25     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     25    log_end(@COMPONENT,FUNCTION);
    2626  };
    2727
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_statistics_deallocation.cpp

    • Property svn:keywords deleted
    r81 r82  
    1717  void @COMPONENT::statistics_deallocation (void)
    1818  {
    19     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     19    log_begin(@COMPONENT,FUNCTION);
    2020
    21     log_printf(INFO,@COMPONENT,FUNCTION,"Generate Statistics file");
     21    log_printf(INFO,@COMPONENT,FUNCTION,_("Generate Statistics file"));
    2222   
    2323    delete _stat;
    2424   
    25     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     25    log_end(@COMPONENT,FUNCTION);
    2626  };
    2727
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_transition.cpp

    • Property svn:keywords deleted
    r81 r82  
    1717  void @COMPONENT::transition (void)
    1818  {
    19     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     19    log_begin(@COMPONENT,FUNCTION);
    2020
    2121#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
     
    2323#endif
    2424
    25     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     25    log_end(@COMPONENT,FUNCTION);
    2626  };
    2727
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_vhdl.cpp

    • Property svn:keywords deleted
    r81 r82  
    1818  void @COMPONENT::vhdl (void)
    1919  {
    20     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     20    log_begin(@COMPONENT,FUNCTION);
    2121
    2222    Vhdl * vhdl = new Vhdl (_name);
     
    3232    delete vhdl;
    3333
    34     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     34    log_end(@COMPONENT,FUNCTION);
    3535  };
    3636
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_vhdl_body.cpp

    • Property svn:keywords deleted
    r81 r82  
    1717  void @COMPONENT::vhdl_body (Vhdl * & vhdl)
    1818  {
    19     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     19    log_begin(@COMPONENT,FUNCTION);
    2020    vhdl->set_body ("");
    21     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     21    log_end(@COMPONENT,FUNCTION);
    2222  };
    2323
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_vhdl_declaration.cpp

    • Property svn:keywords deleted
    r81 r82  
    1717  void @COMPONENT::vhdl_declaration (Vhdl * & vhdl)
    1818  {
    19     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
    20     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     19    log_begin(@COMPONENT,FUNCTION);
     20    log_end(@COMPONENT,FUNCTION);
    2121  };
    2222
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/Parameters.cpp

    • Property svn:keywords deleted
    r81 r82  
    1616  Parameters::Parameters ()
    1717  {
    18     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     18    log_begin(@COMPONENT,FUNCTION);
    1919    test();
    20     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     20    log_end(@COMPONENT,FUNCTION);
    2121  };
    2222 
     
    2525//   Parameters::Parameters (Parameters & param)
    2626//   {
    27 //     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     27//     log_begin(@COMPONENT,FUNCTION);
    2828//     test();
    29 //     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     29//     log_end(@COMPONENT,FUNCTION);
    3030//   };
    3131
     
    3434  Parameters::~Parameters ()
    3535  {
    36     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
    37     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     36    log_begin(@COMPONENT,FUNCTION);
     37    log_end(@COMPONENT,FUNCTION);
    3838  };
    3939
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/Parameters_msg_error.cpp

    • Property svn:keywords deleted
    r81 r82  
    1818  Parameters_test Parameters::msg_error(void)
    1919  {
    20     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     20    log_begin(@COMPONENT,FUNCTION);
    2121
    2222    Parameters_test test ("@COMPONENT");
    2323
    24     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     24    log_end(@COMPONENT,FUNCTION);
    2525
    2626    return test;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/Parameters_print.cpp

    • Property svn:keywords deleted
    r81 r82  
    1717  std::string Parameters::print (uint32_t depth)
    1818  {
    19     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     19    log_begin(@COMPONENT,FUNCTION);
    2020
    2121    XML xml ("@COMPONENT_LOWER");
     
    2525    xml.balise_close();
    2626
    27     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     27    log_end(@COMPONENT,FUNCTION);
    2828   
    2929    return xml.get_body(depth);
     
    3535                            morpheo::behavioural::@NAMESPACE_USE::Parameters & x)
    3636  {
    37     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     37    log_begin(@COMPONENT,FUNCTION);
    3838
    3939    output_stream << x.print(0);
    4040   
    41     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     41    log_end(@COMPONENT,FUNCTION);
    4242
    4343    return output_stream;
Note: See TracChangeset for help on using the changeset viewer.