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

    r2 r42  
    2424#include "Behavioural/include/Vhdl.h"
    2525#endif
    26 #ifdef VHDL_TESTBENCH
    27 #include "Behavioural/include/Vhdl_Testbench.h"
    28 #endif
     26#include "Behavioural/include/Component.h"
    2927
    3028using namespace std;
     
    5048#endif
    5149
    52 #ifdef VHDL_TESTBENCH
    53   private   : Vhdl_Testbench                 * _vhdl_testbench;
    54 #endif
     50  public    : Component                      * _component;
     51  private   : Interfaces                     * _interfaces;
    5552
    5653#ifdef SYSTEMC
    5754    // ~~~~~[ Interface ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    5855  public    : SC_CLOCK                      *  in_CLOCK             ;
     56  public    : SC_IN (Tcontrol_t)            *  in_NRESET            ;
     57
    5958    // Interface "shifter"
    6059  public    : SC_IN (Tdata_t)              **  in_SHIFTER_DATA      ;
     
    104103#if VHDL                                       
    105104  public  : void     vhdl                      (void);
    106   private : void     vhdl_port                 (Vhdl & vhdl);
    107   private : void     vhdl_declaration          (Vhdl & vhdl);
    108   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);
    109108#endif                                         
    110109#ifdef STATISTICS
     
    113112                                               
    114113#ifdef VHDL_TESTBENCH                         
    115   private : void     vhdl_testbench            (Vhdl_Testbench & vhdl_testbench);
    116   private : void     vhdl_testbench_port       (Vhdl_Testbench & vhdl_testbench);
    117   private : void     vhdl_testbench_transition (Vhdl_Testbench & vhdl_testbench);
     114  private : void     vhdl_testbench_transition (void);
    118115#endif
    119116
Note: See TracChangeset for help on using the changeset viewer.