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

Last change on this file since 75 was 75, checked in by rosiere, 16 years ago

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
File size: 1.0 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Interface.h"
9
10
11namespace morpheo              {
12namespace behavioural          {
13
14  std::ostream& operator<< (std::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) << std::endl;
20    output_stream << x.get_comment() << std::endl;
21#else
22    output_stream << x._name << std::endl;
23#endif
24    output_stream << x.get_signal () << std::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.