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/include/New_Component.h

    r53 r57  
    1616#include "Common/include/ToString.h"
    1717#include "Common/include/Debug.h"
     18#include "Behavioural/include/Types.h"
    1819
    1920#include "Behavioural/@DIRECTORY/include/Parameters.h"
    20 #include "Behavioural/@DIRECTORY/include/Types.h"
    2121#ifdef STATISTICS
    2222#include "Behavioural/@DIRECTORY/include/Statistics.h"
     
    2626#include "Behavioural/include/Vhdl.h"
    2727#endif
     28#include "Behavioural/include/Usage.h"
    2829
    2930using namespace std;
     
    3132namespace morpheo {
    3233namespace behavioural {
     34
    3335@NAMESPACE_BEGIN
    3436
     
    4143    // Parameters
    4244  protected : const string       _name;
     45  protected : const Parameters * _param;
     46  private   : const Tusage_t     _usage;
    4347
    44   protected : const Parameters * _param;
    4548//#ifdef STATISTICS
    4649//  protected : const morpheo::behavioural::Parameters_Statistics * _param_statistics;
     
    7275    SC_HAS_PROCESS (@COMPONENT);
    7376#endif
    74   public  :          @COMPONENT              (
     77  public  :          @COMPONENT             
     78  (
    7579#ifdef SYSTEMC
    76                                               sc_module_name                                name,
     80   sc_module_name                                name,
    7781#else                                         
    78                                               string                                        name,
     82   string                                        name,
    7983#endif                                         
    8084#ifdef STATISTICS
    81                                               morpheo::behavioural::Parameters_Statistics * param_statistics,
     85   morpheo::behavioural::Parameters_Statistics * param_statistics,
    8286#endif
    83                                               Parameters                                  * param );
     87   Parameters                                  * param,
     88   morpheo::behavioural::Tusage_t                usage=USE_ALL
     89   );
    8490  public  :          ~@COMPONENT             (void);
    8591                                               
    86 #ifdef SYSTEMC                                 
    8792  private : void     allocation                (void);
    8893  private : void     deallocation              (void);
    8994                                               
     95#ifdef SYSTEMC                                 
    9096//#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    9197  public  : void     transition                (void);
Note: See TracChangeset for help on using the changeset viewer.