Ignore:
Timestamp:
Jul 5, 2007, 5:50:19 PM (17 years ago)
Author:
rosiere
Message:

Modification des classes d'encapsulation des interfaces :

  • gère les signaux à écrire dans le vhdl
  • les traces pour le testbench
  • la génération des vhdl structurelles

-> test sur la Pattern History Table

File:
1 edited

Legend:

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

    r2 r42  
    2525#include "Behavioural/include/Vhdl.h"
    2626#endif
    27 #ifdef VHDL_TESTBENCH
    28 #include "Behavioural/include/Vhdl_Testbench.h"
    29 #endif
     27#include "Behavioural/include/Component.h"
    3028
    3129using namespace std;
    3230
    33 namespace morpheo                    {
     31namespace morpheo {
    3432namespace behavioural {
    3533namespace generic {
    3634namespace counter {
    37 
    3835
    3936  class Counter
     
    5552#endif
    5653
    57 #ifdef VHDL_TESTBENCH
    58   private   : Vhdl_Testbench                 * _vhdl_testbench;
    59 #endif
     54  public    : Component                      * _component;
     55  private   : Interfaces                     * _interfaces;
    6056
    6157#ifdef SYSTEMC
     
    6359    // Interface
    6460  public    : SC_CLOCK                      *  in_CLOCK        ;
    65 
     61  public    : SC_IN (Tcontrol_t)            *  in_NRESET       ;
    6662  public    : SC_IN (Tdata_t)              **  in_COUNTER_DATA         ;
    6763  public    : SC_IN (Tcontrol_t)           **  in_COUNTER_ADDSUB       ;
     
    107103#if VHDL                                       
    108104  public  : void     vhdl                      (void);
    109   private : void     vhdl_port                 (Vhdl & vhdl);
    110   private : void     vhdl_declaration          (Vhdl & vhdl);
    111   private : void     vhdl_body                 (Vhdl & vhdl);
     105  private : void     vhdl_port                 (Vhdl * & vhdl);
     106  private : void     vhdl_declaration          (Vhdl * & vhdl);
     107  private : void     vhdl_body                 (Vhdl * & vhdl);
    112108#endif                                         
    113109                                               
    114110#ifdef VHDL_TESTBENCH                         
    115   private : void     vhdl_testbench_port       (void);
    116111  private : void     vhdl_testbench_transition (void);
    117112#endif
    118   public  : void     vhdl_testbench_label      (string label);
    119113  };
    120114
Note: See TracChangeset for help on using the changeset viewer.