source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interface_print.cpp @ 41

Last change on this file since 41 was 41, checked in by rosiere, 17 years ago

Vhdl_Testbench : Modification du testbench. Maintenant complétement encapsuler dans la classe "Interfaces".
Suppression de la class Vhdl_Testbench dans un avenir proche :D
Suppression du répertoire Configuration.old

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