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/src/Interface.cpp

    r41 r42  
    1111namespace behavioural          {
    1212
    13   Interface::Interface  (string                name         ,
    14                          direction_t           direction    ,
    15                          localisation_t        localisation ):
    16     _name         (name        ),
    17     _direction    (direction   ),
    18     _localisation (localisation)
     13  Interface::Interface  (string                name         
     14#ifdef POSITION
     15                         ,direction_t           direction   
     16                         ,localisation_t        localisation
     17#endif
     18                         ):
     19    _name         (name        )
     20#ifdef POSITION
     21    ,_direction    (direction   )
     22    ,_localisation (localisation)
     23#endif
    1924  {
    2025    log_printf(FUNC,Behavioural,"Interface","Begin");
    2126
    22     _comment       = "";
    2327    _list_signal   = new (list<Signal*>);
    2428
    2529#ifdef POSITION
     30    _comment       = "";
    2631    _is_map        = false;
    2732    _entity_map    = NULL;
     
    3742
    3843  Interface::Interface  (const Interface & interface):
    39     _name         (interface._name        ),
    40     _direction    (interface._direction   ),
    41     _localisation (interface._localisation)
     44    _name         (interface._name        )
     45#ifdef POSITION
     46    ,_direction    (interface._direction   )
     47    ,_localisation (interface._localisation)
     48#endif
    4249  {
    4350    log_printf(FUNC,Behavioural,"Interface (copy)","Begin");
    44     _comment       = interface._comment    ;
    4551    _list_signal   = interface._list_signal;
    4652#ifdef POSITION
     53    _comment       = interface._comment    ;
    4754    _is_map        = interface._is_map     ;
    4855    _entity_map    = interface._entity_map   ;
Note: See TracChangeset for help on using the changeset viewer.