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

Last change on this file since 115 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: 260 bytes
Line 
1#include "../include/Segment.h"
2
3namespace environment {
4namespace data {
5 
6  void Segment::read (uint32_t address, uint32_t size, char * & data_dest)
7  {
8    for (uint32_t it = 0; it < size ; it ++)
9      data_dest [it] = data[address-base+it];
10  }
11 
12};
13};
Note: See TracBrowser for help on using the repository browser.