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_vst/src
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/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_vst/src/New_Component_allocation.cpp

    • Property svn:keywords deleted
    r81 r82  
    1616#undef  FUNCTION
    1717#define FUNCTION "@COMPONENT::allocation"
    18   void @COMPONENT::allocation (
     18  void @COMPONENT::allocation
     19  (
    1920#ifdef STATISTICS
    20                                morpheo::behavioural::Parameters_Statistics * param_statistics
     21   morpheo::behavioural::Parameters_Statistics * param_statistics
    2122#else
    22                                void
     23   void
    2324#endif
    24                                )
     25   )
    2526  {
    26     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     27    log_begin@COMPONENT,FUNCTION);
    2728
    2829    _component   = new Component (_usage);
     
    5657    std::string src,dest;
    5758
    58 
    5959    // ~~~~~[ Others ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    60      _component->test_map();
     60     if (DEBUG_@COMPONENT == true)
     61       _component->test_map();
    6162
    6263#ifdef POSITION
    6364     if (usage_is_set(_usage,USE_POSITION))
    64         _component->generate_file();
     65      _component->generate_file();
    6566#endif
    6667
    67     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     68     log_end(@COMPONENT,FUNCTION);
    6869  };
    6970
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/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_vst/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_vst/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_vst/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_vst/src/New_Component_transition.cpp

    • Property svn:keywords deleted
    r81 r82  
    1818  void @COMPONENT::transition (void)
    1919  {
    20     log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     20    log_begin(@COMPONENT,FUNCTION);
    2121
    2222#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
     
    2424#endif
    2525
    26     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     26    log_end(@COMPONENT,FUNCTION);
    2727  };
    2828
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/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);
     
    2929    delete vhdl;
    3030
    31     log_printf(FUNC,@COMPONENT,FUNCTION,"End");
     31    log_end(@COMPONENT,FUNCTION);
    3232  };
    3333
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/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_vst/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_vst/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.