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

    r38 r42  
    1 #ifdef POSITION
    21#ifndef morpheo_behavioural_Entity_h
    32#define morpheo_behavioural_Entity_h
     
    1312#include <iostream>
    1413#include <list>
     14//#include "Behavioural/include/Description.h"
    1515#include "Behavioural/include/Interfaces.h"
    1616#include "Behavioural/include/Schema.h"
     
    2626  class Entity
    2727  {
    28     friend class Position;
    29     friend class Interface;
    30 
    3128    // -----[ fields ]----------------------------------------------------
    3229  private   : const string          _name         ;
    3330  private   : const string          _type         ;
     31#ifdef POSITION
    3432  private   : const schema_t        _schema       ;
     33#endif
    3534  private   : Interfaces          * _interfaces   ;
     35
     36#ifdef POSITION
    3637  private   : string                _comment      ;
    3738
     
    4142  private   :       uint32_t        _map_pos_x    ;
    4243  private   :       uint32_t        _map_pos_y    ;
     44#endif
    4345
    4446    // -----[ methods ]---------------------------------------------------
    45   public    :                       Entity            (string        name   ,
    46                                                        string        type   ,
    47                                                        schema_t      schema );
     47  public    :                       Entity            ( string        name   
     48                                                       ,string        type   
     49#ifdef POSITION
     50                                                       ,schema_t      schema
     51#endif
     52                                                        );
    4853  public    :                        Entity           (const Entity & entity);
    4954  public    :                       ~Entity           ();
    5055
     56  public    : string                get_name          (void);
     57  public    : string                get_type          (void);
     58
     59#ifdef POSITION
    5160  public    : void                  set_comment       (string comment);
    5261  private   : string                get_comment       (void          );
    53 
     62#endif
    5463  public    : Interfaces *          set_interfaces    (void);
    5564  private   : string                get_interfaces    (void);
     65  public    : Interfaces *          get_interfaces_list(void);
    5666
    5767  public    : Interface  *          find_interface    (string name);
     68  public    : Signal     *          find_signal       (string name);
     69  public    : bool                  find_signal       (Signal * signal);
    5870
     71#ifdef POSITION
    5972  public    : void                  mapping           (uint32_t pos_x,
    6073                                                       uint32_t pos_y,
    6174                                                       uint32_t size_x ,
    6275                                                       uint32_t size_y );
     76#endif
    6377
     78#ifdef POSITION
    6479  public    : XML                   toXML             (void);
    6580  public    : XML                   toXML_mapping     (void);
    66 
     81#endif
    6782  public    : friend ostream&       operator<<        (ostream& output_stream,
    6883                                                       morpheo::behavioural::Entity & x);
     
    7388
    7489#endif
    75 #endif
Note: See TracChangeset for help on using the changeset viewer.