source: trunk/IPs/systemC/Environment/TTY/src/TTY_print.cpp @ 108

Last change on this file since 108 was 81, checked in by rosiere, 17 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 400 bytes
Line 
1#include "../include/TTY.h"
2
3namespace environment {
4namespace tty {
5
6  std::ostream& operator<< (std::ostream& output, TTY & x)
7  {
8    output << "<" << x.name << ">" << std::endl
9           << " * nb_tty : " << x.param->nb_tty << std::endl;
10   
11    for (uint32_t i=0; i<x.param->nb_tty; i++)
12      output << "   * tty ["<< i << "] : " << x.param->name_tty[i] << std::endl;
13
14    return output;
15  }
16
17};
18};
Note: See TracBrowser for help on using the repository browser.