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

Last change on this file since 57 was 57, checked in by rosiere, 17 years ago
  • VHDL - RegisterFile_Multi_Banked (only partial_crossbar)
  • SystemC - modif Component, interface and co -> ajout du type Tusage_T pour instancier un coposant mais ne demander que le VHDL ou le systemC.
  • Séminaire interne
File size: 1.0 KB
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  (Tusage_t usage):
14    _usage (usage)
15  {
16    log_printf(FUNC,Behavioural,"Component::Component","Begin");
17    _list_component = new list<Tcomponent_t *>;
18    log_printf(FUNC,Behavioural,"Component::Component","End");
19  };
20
21  Component::Component  (const Component & component):
22    _usage (component._usage)
23  {
24    log_printf(FUNC,Behavioural,"Component::Component (copy)","Begin");
25    _entity         = component._entity        ;
26    _list_component = component._list_component;
27    log_printf(FUNC,Behavioural,"Component::Component (copy)","End");
28  };
29 
30  Component::~Component ()
31  {
32    log_printf(FUNC,Behavioural,"Component::~Component","Begin");
33    delete _entity;
34    delete _list_component;
35    log_printf(FUNC,Behavioural,"Component::~Component","End");
36  };
37 
38
39}; // end namespace behavioural         
40}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.