Ignore:
Timestamp:
Jan 19, 2008, 12:09:01 PM (16 years ago)
Author:
rosiere
Message:

Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src
Files:
1 added
4 deleted
5 edited
1 moved

Legend:

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

    r68 r71  
    3030    ,_param            (param)
    3131    ,_usage            (usage)
    32 // #ifdef STATISTICS
    33 //                            ,_param_statistics (param_statistics)
    34 // #endif
    3532  {
    3633    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
     
    4340      {
    4441        log_printf(INFO,@COMPONENT,FUNCTION,"Allocation of statistics");
    45        
    46         // Allocation of statistics
    47         _stat = new Statistics (static_cast<string>(_name),
    48                                 param_statistics          ,
    49                                 param);
     42
     43        statistics_declaration(param_statistics);
    5044      }
    5145#endif
     
    9084        log_printf(INFO,@COMPONENT,FUNCTION,"Generate Statistics file");
    9185       
    92         _stat->generate_file(statistics(0));
    9386        delete _stat;
    9487      }
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_end_cycle.cpp

    r69 r71  
     1#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    12/*
    23 * $Id$
    34 *
    4  * [ Description ]
     5 * [ Description ]
    56 *
    67 */
     
    1920
    2021#ifdef STATISTICS
    21     _stat->add();
     22    _stat->end_cycle();
    2223#endif   
    2324
     
    3435}; // end namespace behavioural
    3536}; // end namespace morpheo             
     37#endif
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_statistics_print.cpp

    r59 r71  
    33 * $Id$
    44 *
    5  * [ Description ]
     5 * [ Description ]
    66 *
    77 */
     
    1414
    1515#undef  FUNCTION
    16 #define FUNCTION "@COMPONENT::statistics"
    17   string @COMPONENT::statistics (uint32_t depth)
     16#define FUNCTION "@COMPONENT::statistics_print"
     17  std::string @COMPONENT::statistics_print (uint32_t depth)
    1818  {
    1919    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
    2020
    21     string txt = _stat->print(depth);
     21    std::string txt = _stat->print(depth);
    2222   
    2323    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_transition.cpp

    r69 r71  
    2020    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
    2121
     22#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    2223    end_cycle ();
     24#endif
    2325
    2426    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_msg_error.cpp

    r57 r71  
    99#include "Behavioural/@DIRECTORY/include/Parameters.h"
    1010#include <sstream>
    11 using namespace std;
    1211
    1312namespace morpheo                    {
     
    1716#undef  FUNCTION
    1817#define FUNCTION "@COMPONENT::msg_error"
    19   string Parameters::msg_error(void)
     18  std::string Parameters::msg_error(void)
    2019  {
    2120    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
    2221
    23     string msg = "";
     22    std::string msg = "";
    2423
    2524    return msg;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_print.cpp

    r53 r71  
    88#include "Behavioural/@DIRECTORY/include/Parameters.h"
    99#include "Behavioural/include/XML.h"
    10 using namespace std;
    1110
    1211namespace morpheo                    {
     
    1615#undef  FUNCTION
    1716#define FUNCTION "@COMPONENT::print"
    18   string Parameters::print (uint32_t depth)
     17  std::string Parameters::print (uint32_t depth)
    1918  {
    2019    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
Note: See TracChangeset for help on using the changeset viewer.