Last change
on this file since 38 was
38,
checked in by rosiere, 17 years ago
|
Interface et vhdl_testbench : l'appel aux fonction add_input et add_ouput est maintenant réalisé par la classe Interface (et autre).
2 remarques :
- tester avec des sous composants (en particulier les sorties d'un est directement relié au sortie d'un autre)
- Signal_testbench.cpp -> l'optimisé (par exemple pointeur de fonction afin d'éviter le test et le switch)
|
File size:
666 bytes
|
Rev | Line | |
---|
[29] | 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 | { |
---|
[38] | 17 | log_printf(FUNC,Behavioural,"operator<<","Begin"); |
---|
[29] | 18 | output_stream << x._name + "\t"+toString(x._localisation)+"\t"+toString(x._direction) << endl; |
---|
| 19 | output_stream << x.get_comment() << endl; |
---|
| 20 | output_stream << x.get_signal () << endl; |
---|
[38] | 21 | log_printf(FUNC,Behavioural,"operator<<","End"); |
---|
[29] | 22 | return output_stream; |
---|
| 23 | }; |
---|
| 24 | |
---|
| 25 | }; // end namespace behavioural |
---|
| 26 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.