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:
618 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Entity.h" |
---|
9 | |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | |
---|
14 | ostream& operator<< (ostream& output_stream, |
---|
15 | morpheo::behavioural::Entity & x) |
---|
16 | { |
---|
17 | #ifdef POSITION |
---|
18 | output_stream << x._name + "\t"+x._type+"\t"+toString(x._schema) << endl; |
---|
19 | output_stream << x.get_comment() << endl; |
---|
20 | #else |
---|
21 | output_stream << x._name + "\t"+x._type<< endl; |
---|
22 | #endif |
---|
23 | output_stream << x.get_interfaces() << endl; |
---|
24 | return output_stream; |
---|
25 | }; |
---|
26 | |
---|
27 | }; // end namespace behavioural |
---|
28 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.