Ignore:
Timestamp:
Jan 31, 2008, 6:46:41 PM (16 years ago)
Author:
rosiere
Message:

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter
Files:
2 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/include/Counter.h

    r71 r75  
    2727#include "Behavioural/include/Component.h"
    2828
    29 using namespace std;
    30 
    3129namespace morpheo {
    3230namespace behavioural {
     
    4139    // -----[ fields ]----------------------------------------------------
    4240    // Parameters
    43   protected : const string     _name;
     41  protected : const std::string     _name;
    4442
    4543  protected : const Parameters _param;
    4644
    4745#ifdef STATISTICS
    48   private   : Stat                           * _stat;
     46  public    : Stat                           * _stat;
    4947#endif
    5048
     
    7573  public  :          Counter              (sc_module_name                              name,
    7674#else                                         
    77   public  :          Counter              (string                                      name,
     75  public  :          Counter              (std::string                                 name,
    7876#endif                                         
    7977#ifdef STATISTICS
     
    9694#ifdef STATISTICS
    9795  public  : void     statistics_declaration    (morpheo::behavioural::Parameters_Statistics * param_statistics);
    98   public  : string   statistics_print          (uint32_t depth);
    9996#endif
    10097                                               
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/include/Parameters.h

    r44 r75  
    3232  public : ~Parameters () ;
    3333
    34   public : string msg_error (void);
    35 
    36   public :        string   print      (uint32_t depth);
    37   public : friend ostream& operator<< (ostream& output_stream,
    38                                        morpheo::behavioural::generic::counter::Parameters & x);
     34  public :        std::string   msg_error  (void);
     35  public :        std::string   print      (uint32_t depth);
     36  public : friend std::ostream& operator<< (std::ostream& output_stream,
     37                                            morpheo::behavioural::generic::counter::Parameters & x);
    3938  };
    4039
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_allocation.cpp

    r42 r75  
    1717  void Counter::allocation (void)
    1818  {
    19     string rename;
    20 
    2119    log_printf(FUNC,Counter,"allocation","Begin");
    2220
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_statistics_declaration.cpp

    r71 r75  
    2020    log_printf(FUNC,Counter,FUNCTION,"Begin");
    2121
    22     _stat = new Stat (static_cast<string>(_name),
     22    _stat = new Stat (static_cast<std::string>(_name),
    2323                      "Counter",
    2424                      param_statistics);
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_vhdl_body.cpp

    r42 r75  
    2121    for (uint32_t i=0; i<_param._nb_port; i++)
    2222      {
    23         string counter_inc, counter_dec;
     23        std::string counter_inc, counter_dec;
    2424
    2525        if (_param._size_data > 1)
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Parameters_msg_error.cpp

    r2 r75  
    99#include "Behavioural/Generic/Counter/include/Types.h"
    1010#include <sstream>
    11 using namespace std;
    1211
    1312namespace morpheo                    {
     
    1716
    1817
    19   string Parameters::msg_error(void)
     18  std::string Parameters::msg_error(void)
    2019  {
    2120    log_printf(FUNC,Counter,"msg_error","Begin");
    2221
    23     string msg = "";
     22    std::string msg = "";
    2423
    2524    if (_size_data < 1)
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Parameters_print.cpp

    r3 r75  
    88#include "Behavioural/Generic/Counter/include/Parameters.h"
    99#include "Behavioural/include/XML.h"
    10 using namespace std;
    1110
    1211namespace morpheo                    {
     
    1615
    1716
    18   string Parameters::print (uint32_t depth)
     17  std::string Parameters::print (uint32_t depth)
    1918  {
    2019    log_printf(FUNC,Counter,"print","Begin");
     
    3635  };
    3736
    38   ostream& operator<< (ostream& output_stream ,
    39                        morpheo::behavioural::generic::counter::Parameters & x)
     37  std::ostream& operator<< (std::ostream& output_stream ,
     38                            morpheo::behavioural::generic::counter::Parameters & x)
    4039  {
    4140    output_stream << x.print(0);
Note: See TracChangeset for help on using the changeset viewer.