Last change
on this file since 40 was
40,
checked in by rosiere, 17 years ago
|
Interface et Signal, c'est deux classes enregistres la valeurs des signaux à chaque cycle ... étape préparatoire avan le changement de la classe Vhdl_Testbench
|
File size:
889 bytes
|
Rev | Line | |
---|
[29] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Signal.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | |
---|
| 13 | ostream& operator<< (ostream& output_stream, |
---|
| 14 | morpheo::behavioural::Signal & x) |
---|
| 15 | { |
---|
[38] | 16 | log_printf(FUNC,Behavioural,"operator<<","Begin"); |
---|
[29] | 17 | |
---|
[38] | 18 | output_stream << x._name ; |
---|
| 19 | output_stream << "\t{" << x._size << "}\t" |
---|
| 20 | << toString(x._direction) << "\t" |
---|
[40] | 21 | << toString(x._presence_port); |
---|
[38] | 22 | |
---|
[40] | 23 | // #ifdef VHDL_TESTBENCH |
---|
| 24 | // if (x._list_value->empty()== false) |
---|
| 25 | // { |
---|
| 26 | // list<string>::iterator i = x._list_value->begin(); |
---|
| 27 | |
---|
| 28 | // while (i != x._list_value->end()) |
---|
| 29 | // { |
---|
| 30 | // output_stream << "\n\t" << *i ; |
---|
| 31 | // ++i; |
---|
| 32 | // } |
---|
| 33 | // } |
---|
| 34 | // #endif |
---|
| 35 | |
---|
[38] | 36 | log_printf(FUNC,Behavioural,"operator<<","End"); |
---|
| 37 | |
---|
[29] | 38 | return output_stream; |
---|
| 39 | }; |
---|
| 40 | |
---|
| 41 | }; // end namespace behavioural |
---|
| 42 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.