source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Signal_print.cpp @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 724 bytes
Line 
1/*
2 * $Id: Signal_print.cpp 81 2008-04-15 18:40:01Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Signal.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
13  std::ostream& operator<< (std::ostream& output_stream,
14                            morpheo::behavioural::Signal & x)
15  {
16    log_printf(FUNC,Behavioural,"operator<<","Begin");
17
18    output_stream << x._name ;
19    output_stream << "\t{" << x._size << "}\t"
20                  << toString(x._direction)    << "\t"
21                  << toString(x._presence_port)
22                  << "sc_signal : " << std::hex << x._sc_signal << " - " << x._sc_signal_map << std::dec;
23
24    log_printf(FUNC,Behavioural,"operator<<","End");
25
26    return output_stream;
27  };
28
29}; // end namespace behavioural         
30}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.