Ignore:
Timestamp:
Sep 28, 2007, 2:58:08 PM (17 years ago)
Author:
rosiere
Message:
  • VHDL - RegisterFile_Multi_Banked (only partial_crossbar)
  • SystemC - modif Component, interface and co -> ajout du type Tusage_T pour instancier un coposant mais ne demander que le VHDL ou le systemC.
  • Séminaire interne
File:
1 edited

Legend:

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

    r53 r57  
    1414#undef  FUNCTION
    1515#define FUNCTION "@COMPONENT::@COMPONENT"
     16  @COMPONENT::@COMPONENT
     17  (
    1618#ifdef SYSTEMC
    17   @COMPONENT::@COMPONENT (sc_module_name name,
     19   sc_module_name name,
    1820#else
    19   @COMPONENT::@COMPONENT (string name,
     21   string name,
    2022#endif
    2123#ifdef STATISTICS
    22                           morpheo::behavioural::Parameters_Statistics * param_statistics,
     24   morpheo::behavioural::Parameters_Statistics * param_statistics,
    2325#endif
    24                           morpheo::behavioural::@NAMESPACE_USE::Parameters * param ):
    25                               _name              (name)
    26                               ,_param            (param)
     26   morpheo::behavioural::@NAMESPACE_USE::Parameters * param,
     27   morpheo::behavioural::Tusage_t usage
     28   ):
     29    _name              (name)
     30    ,_param            (param)
     31    ,_usage            (usage)
    2732// #ifdef STATISTICS
    2833//                            ,_param_statistics (param_statistics)
     
    3136    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
    3237
    33 #ifdef SYSTEMC
    3438    log_printf(INFO,@COMPONENT,FUNCTION,"Allocation");
    35 
    3639    allocation ();
    37 #endif
    3840
    3941#ifdef STATISTICS
     
    8082
    8183    _stat->generate_file(statistics(0));
    82    
    8384    delete _stat;
    8485#endif
    8586
    86 #ifdef SYSTEMC
    8787    log_printf(INFO,@COMPONENT,FUNCTION,"Deallocation");
    88 
    8988    deallocation ();
    90 #endif
    9189
    9290    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
Note: See TracChangeset for help on using the changeset viewer.