source: trunk/IPs/systemC/Environment/Data/src/Segment_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: 534 bytes
Line 
1#include "../include/Segment.h"
2
3namespace environment {
4namespace data {
5 
6  std::ostream& operator<< (std::ostream& output, Segment & x)
7  {
8    output << "Segment \"" << x.name << "\""     << std::endl
9           << std::hex
10           << "  * base     : " << std::setw(8) << std::setfill('0') << x.base << std::endl
11           << "  * size     : " << std::setw(8) << std::setfill('0') << x.size << std::endl
12           << std::dec
13           << "  * uncached : " << x.uncached    << std::endl
14           << "  * type     : " << x.type;
15       
16    return output;
17  };
18 
19};
20};
Note: See TracBrowser for help on using the repository browser.