Last change
on this file since 61 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:
998 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Interface.h" |
---|
9 | |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | |
---|
14 | ostream& operator<< (ostream& output_stream, |
---|
15 | morpheo::behavioural::Interface & x) |
---|
16 | { |
---|
17 | log_printf(FUNC,Behavioural,"operator<<","Begin"); |
---|
18 | #ifdef POSITION |
---|
19 | output_stream << x._name + "\t"+toString(x._localisation)+"\t"+toString(x._direction) << endl; |
---|
20 | output_stream << x.get_comment() << endl; |
---|
21 | #else |
---|
22 | output_stream << x._name << endl; |
---|
23 | #endif |
---|
24 | output_stream << x.get_signal () << endl; |
---|
25 | |
---|
26 | // #ifdef VHDL_TESTBENCH |
---|
27 | // if (x._list_cycle->empty()== false) |
---|
28 | // { |
---|
29 | // list<string>::iterator i = x._list_cycle->begin(); |
---|
30 | |
---|
31 | // while (i != x._list_cycle->end()) |
---|
32 | // { |
---|
33 | // output_stream << "\n\t" << *i ; |
---|
34 | // ++i; |
---|
35 | // } |
---|
36 | // } |
---|
37 | // #endif |
---|
38 | |
---|
39 | log_printf(FUNC,Behavioural,"operator<<","End"); |
---|
40 | return output_stream; |
---|
41 | }; |
---|
42 | |
---|
43 | }; // end namespace behavioural |
---|
44 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.