Ignore:
Timestamp:
Dec 4, 2007, 2:31:54 PM (17 years ago)
Author:
rosiere
Message:

Modification en profondeur de Component-port_map.
Compilation ok pour Register_unit ... a tester (systemC et vhdl)

File:
1 edited

Legend:

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

    r59 r62  
    5353
    5454    // -----[ fields ]----------------------------------------------------
    55   private   : const string          _name         ;
    56   private   : const direction_t     _direction    ;
    57   private   : const uint32_t        _size         ;
    58   private   : const presence_port_t _presence_port;
     55  private   : const string          _name          ;
     56  private   : const direction_t     _direction     ;
     57  private   : const uint32_t        _size          ;
     58  private   : const presence_port_t _presence_port ;
    5959
    6060  private   : Signal *              _connect_to_signal;   // the actual implementaion, this signal link with one signal (but if signal is an output, it can be connect with many signal ...)
    6161  private   : Signal *              _connect_from_signal; // producter of signal. If NULL, then producteur is the current entity
    62   private   : bool                  _is_allocate  ; // Have allocate a sc_in or sc_out port
    63   private   : void *                _sc_signal    ; // sc_in or sc_out associated at this signal
    64   private   : bool                  _is_map       ;
    65   private   : void *                _sc_signal_map; // sc_out generated this signal
    66   private   : type_info_t           _type_info    ;
     62  private   : bool                  _is_allocate   ; // Have allocate a sc_in or sc_out port
     63  private   : void *                _sc_signal     ; // sc_in or sc_out associated at this signal
     64  private   : void *                _sc_signal_map ; // sc_out generated this signal
     65  private   : bool                  _is_map_as_src ;
     66  private   : bool                  _is_map_as_dest;
     67  private   : type_info_t           _type_info     ;
    6768
    6869#ifdef VHDL_TESTBENCH
    69   private   : list<string>        * _list_value   ;
     70  private   : list<string>        * _list_value    ;
    7071#endif
    7172
     
    7879  public    :                   ~Signal         ();
    7980
    80   public    : string            get_name        (void);
    81   public    : uint32_t          get_size        (void);
    82   public    : bool              get_is_map      (void);
    83   public    : Signal *          get_connect_to_signal (void);
     81  public    : string            get_name                (void);
     82  public    : uint32_t          get_size                (void);
     83  public    : Signal *          get_connect_to_signal   (void);
    8484  public    : Signal *          get_connect_from_signal (void);
    85   public    : direction_t       get_direction   (void);
    86 
    87   public    : bool              presence_vhdl      (void);
    88   public    : bool              presence_testbench (void);
    89 
    90 //   public    : void              mapping         (Signal * signal);
    91   public    : void              link            (Signal * signal  ,
    92                                                  bool     is_port_component);
     85  public    : direction_t       get_direction           (void);
     86  public    : type_info_t       get_type_info           (void);
     87
     88  public    : bool              presence_vhdl           (void);
     89  public    : bool              presence_testbench      (void);
     90
     91  public    : bool              test_map                (bool top_level);
     92
     93  public    : void              link                    (Signal * signal_dest,
     94                                                         bool     signal_dest_is_port);
     95
     96  public    : void              connect                 (Signal * signal_dest);
    9397
    9498#ifdef SYSTEMC         
Note: See TracChangeset for help on using the changeset viewer.