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 moved

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component_set_component.cpp

    r38 r42  
    1 #ifdef POSITION
    21/*
    32 * $Id$
     
    76 */
    87
    9 #include "Behavioural/include/Position.h"
     8#include "Behavioural/include/Component.h"
    109
    1110namespace morpheo              {
    1211namespace behavioural          {
    1312
    14   void Position::set_component (Position * position,
    15                                 uint32_t   pos_x  ,
    16                                 uint32_t   pos_y  ,
    17                                 uint32_t   size_x ,
    18                                 uint32_t   size_y )
     13  void Component::set_component (Component * component
     14#ifdef POSITION
     15                                ,uint32_t   pos_x 
     16                                ,uint32_t   pos_y 
     17                                ,uint32_t   size_x
     18                                ,uint32_t   size_y
     19#endif
     20                                 )
    1921  {
    20     Entity * entity = position->_entity;
     22    Entity * entity = component->_entity;
    2123
    2224    _list_component->push_back(entity);
    2325
     26#ifdef POSITION
    2427    entity->mapping( pos_x, pos_y, size_x, size_y);
     28#endif
    2529  };
    2630
    2731}; // end namespace behavioural         
    2832}; // end namespace morpheo             
    29 #endif
Note: See TracChangeset for help on using the changeset viewer.