Ignore:
Timestamp:
Jun 5, 2007, 11:06:46 PM (17 years ago)
Author:
rosiere
Message:

Interface et Signal, c'est deux classes enregistres la valeurs des signaux à chaque cycle ... étape préparatoire avan le changement de la classe Vhdl_Testbench

File:
1 edited

Legend:

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

    r38 r40  
    3939
    4040    // -----[ fields ]----------------------------------------------------
    41   private  : const string          _name         ;
    42   private  : const direction_t     _direction    ;
    43   private  : const localisation_t  _localisation ;
    44   private  :       string          _comment      ;
     41  protected : const string          _name         ;
     42  protected : const direction_t     _direction    ;
     43  protected : const localisation_t  _localisation ;
     44  protected :       string          _comment      ;
    4545
    46   private   : list<Signal *>      * _list_signal  ;
    47 
     46  protected : list<Signal *>      * _list_signal  ;
    4847
    4948#ifdef POSITION
    50   private  :       bool            _is_map       ;
    51   private  :       void          * _entity_map   ; // Entity -> erreur cyclique
    52   private  :       void          * _interface_map; // pour être homogène avec _entity_map
     49  protected :       bool            _is_map       ;
     50  protected :       void          * _entity_map   ; // Entity -> erreur cyclique
     51  protected :       void          * _interface_map; // pour être homogène avec _entity_map
    5352#endif
    5453
     54#ifdef VHDL_TESTBENCH
     55  private   : list<string>        * _list_cycle   ;
     56#endif
     57   
    5558    // -----[ methods ]---------------------------------------------------
    5659  public    :                       Interface            (string         name        ,
     
    6265
    6366  public    : void                  set_comment          (string comment);
    64   private  : string                get_comment          (void          );
     67  protected : string                get_comment          (void          );
    6568
    66   private   : string                get_signal           (void);
     69  protected : string                signal_name          (string      name_interface,
     70                                                          string      name_signal   ,
     71                                                          direction_t direction     );
     72
     73  protected : string                get_signal           (void);
    6774  public    : Signal *              set_signal           (string          name     ,
    6875                                                          direction_t     direction,
     
    135142
    136143#ifdef VHDL_TESTBENCH
     144  public    : void                  testbench_cycle      (void);
    137145  public    : void                  testbench            (Vhdl_Testbench * & vhdl_testbench);
    138146#endif
Note: See TracChangeset for help on using the changeset viewer.