source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component.cpp @ 42

Last change on this file since 42 was 42, checked in by rosiere, 17 years ago

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 size: 906 bytes
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Component.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
13  Component::Component  (void)
14  {
15    log_printf(FUNC,Behavioural,"Component","Begin");
16    _list_component = new list<Entity *>;
17    log_printf(FUNC,Behavioural,"Component","End");
18  };
19
20  Component::Component  (const Component & component)
21  {
22    log_printf(FUNC,Behavioural,"Component (copy)","Begin");
23    _entity         = component._entity        ;
24    _list_component = component._list_component;
25    log_printf(FUNC,Behavioural,"Component (copy)","End");
26  };
27 
28  Component::~Component ()
29  {
30    log_printf(FUNC,Behavioural,"~Component","Begin");
31    delete _entity;
32    delete _list_component;
33    log_printf(FUNC,Behavioural,"~Component","End");
34  };
35 
36
37}; // end namespace behavioural         
38}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.