source: trunk/IPs/systemC/Environment/Data/src/Segment_read.cpp @ 140

Last change on this file since 140 was 134, checked in by rosiere, 15 years ago

1) valgrind fix
2) debug file on/off

  • Property svn:keywords set to Id
File size: 490 bytes
Line 
1#include "../include/Segment.h"
2#include "../../Common/include/Debug.h"
3
4namespace environment {
5namespace data {
6 
7  void Segment::read (uint32_t address, uint32_t size, char * & data_dest)
8  {
9//     _cout(true,"  * kane\n");
10//     _cout(true,"    * address : %.8x\n",address);
11    for (uint32_t it = 0; it < size ; it ++)
12      {
13        data_dest [it] = data[address-base+it];
14//      _cout(true,"    * [%d] : %.8x\n",address-base+it,static_cast<uint32_t>(data_dest [it]));
15      }
16  }
17 
18};
19};
Note: See TracBrowser for help on using the repository browser.