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