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:
541 bytes
|
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 | |
---|
[42] | 13 | Entity * Component::set_entity (string name |
---|
| 14 | ,string type |
---|
| 15 | #ifdef POSITION |
---|
| 16 | ,schema_t schema |
---|
| 17 | #endif |
---|
| 18 | ) |
---|
[31] | 19 | { |
---|
[42] | 20 | Entity * entity = new Entity (name |
---|
| 21 | ,type |
---|
| 22 | #ifdef POSITION |
---|
| 23 | ,schema |
---|
| 24 | #endif |
---|
| 25 | ); |
---|
[31] | 26 | _entity = entity; |
---|
| 27 | |
---|
| 28 | return entity; |
---|
| 29 | }; |
---|
| 30 | |
---|
| 31 | }; // end namespace behavioural |
---|
| 32 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.