Ignore:
Timestamp:
Sep 6, 2007, 6:30:49 PM (17 years ago)
Author:
rosiere
Message:
  • Banc de registre multi banc
  • Banc de registre générique.
File:
1 edited

Legend:

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

    r41 r53  
    1212@NAMESPACE_BEGIN
    1313
     14#undef  FUNCTION
     15#define FUNCTION "@COMPONENT::@COMPONENT"
    1416#ifdef SYSTEMC
    1517  @COMPONENT::@COMPONENT (sc_module_name name,
     
    1820#endif
    1921#ifdef STATISTICS
    20                               morpheo::behavioural::Parameters_Statistics            param_statistics,
     22                          morpheo::behavioural::Parameters_Statistics * param_statistics,
    2123#endif
    22                               morpheo::behavioural::@NAMESPACE_USE::Parameters param ):
     24                          morpheo::behavioural::@NAMESPACE_USE::Parameters * param ):
    2325                              _name              (name)
    2426                              ,_param            (param)
     
    2729// #endif
    2830  {
    29     log_printf(FUNC,@COMPONENT,"@COMPONENT","Begin");
     31    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
    3032
    3133#ifdef SYSTEMC
    32     log_printf(INFO,@COMPONENT,"@COMPONENT","Allocation");
     34    log_printf(INFO,@COMPONENT,FUNCTION,"Allocation");
    3335
    3436    allocation ();
     
    3638
    3739#ifdef STATISTICS
    38     log_printf(INFO,@COMPONENT,"@COMPONENT","Allocation of statistics");
     40    log_printf(INFO,@COMPONENT,FUNCTION,"Allocation of statistics");
    3941
    4042    // Allocation of statistics
     
    4648#ifdef VHDL
    4749    // generate the vhdl
    48     log_printf(INFO,@COMPONENT,"@COMPONENT","Generate the vhdl");
     50    log_printf(INFO,@COMPONENT,FUNCTION,"Generate the vhdl");
    4951
    5052    vhdl();
     
    5355#ifdef SYSTEMC
    5456//#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    55     log_printf(INFO,@COMPONENT,"@COMPONENT","Method - transition");
     57    log_printf(INFO,@COMPONENT,FUNCTION,"Method - transition");
    5658
    5759    SC_METHOD (transition);
     
    6567
    6668#endif
    67     log_printf(FUNC,@COMPONENT,"@COMPONENT","End");
     69    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
    6870  };
    6971 
     72#undef  FUNCTION
     73#define FUNCTION "@COMPONENT::~@COMPONENT"
    7074  @COMPONENT::~@COMPONENT (void)
    7175  {
    72     log_printf(FUNC,@COMPONENT,"~@COMPONENT","Begin");
     76    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
    7377
    7478#ifdef STATISTICS
    75     log_printf(INFO,@COMPONENT,"~@COMPONENT","Generate Statistics file");
     79    log_printf(INFO,@COMPONENT,FUNCTION,"Generate Statistics file");
    7680
    7781    _stat->generate_file(statistics(0));
     
    8185
    8286#ifdef SYSTEMC
    83     log_printf(INFO,@COMPONENT,"~@COMPONENT","Deallocation");
     87    log_printf(INFO,@COMPONENT,FUNCTION,"Deallocation");
    8488
    8589    deallocation ();
    8690#endif
    8791
    88     log_printf(FUNC,@COMPONENT,"~@COMPONENT","End");
     92    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
    8993  };
    9094
Note: See TracChangeset for help on using the changeset viewer.