source: trunk/IPs/systemC/Environment/RamLock/src/RamLock_print.cpp @ 83

Last change on this file since 83 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: 503 bytes
Line 
1#include "../include/RamLock.h"
2
3namespace environment {
4namespace ramlock {
5
6  std::ostream& operator<< (std::ostream& output, environment::ramlock::RamLock & x)
7  {
8    output << "<" << x._name << ">" << std::endl;
9    output << " * size        : " << x._param->_size      << std::endl;
10   
11    for (uint32_t it = 0; it < x._param->_size; it ++)
12      {
13        if (it % 32 == 0)
14          output << std::endl;
15       
16        output << x._lock [it] << " ";
17      }
18    output << std::endl;
19   
20    return output;
21
22  }
23
24};
25};
Note: See TracBrowser for help on using the repository browser.