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

Last change on this file since 80 was 80, checked in by rosiere, 16 years ago

Oups, Environnement is french :P

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.