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

Last change on this file since 41 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
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Signal.h"
9
10namespace morpheo              {
11namespace behavioural          {
12
13  ostream& operator<< (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
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
36    log_printf(FUNC,Behavioural,"operator<<","End");
37
38    return output_stream;
39  };
40
41}; // end namespace behavioural         
42}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.