Last change
on this file since 39 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:
637 bytes
|
Rev | Line | |
---|
[29] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Signal.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | namespace behavioural { |
---|
| 15 | |
---|
| 16 | ostream& operator<< (ostream& output_stream, |
---|
| 17 | morpheo::behavioural::Signal & x) |
---|
| 18 | { |
---|
[38] | 19 | log_printf(FUNC,Behavioural,"operator<<","Begin"); |
---|
[29] | 20 | |
---|
[38] | 21 | output_stream << x._name ; |
---|
| 22 | output_stream << "\t{" << x._size << "}\t" |
---|
| 23 | << toString(x._direction) << "\t" |
---|
| 24 | << toString(x._presence_port)<< endl; |
---|
| 25 | |
---|
| 26 | log_printf(FUNC,Behavioural,"operator<<","End"); |
---|
| 27 | |
---|
[29] | 28 | return output_stream; |
---|
| 29 | }; |
---|
| 30 | |
---|
| 31 | }; // end namespace behavioural |
---|
| 32 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.