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