Changeset 134 for trunk/IPs/systemC/Environment/Data/src/Segment_read.cpp
- Timestamp:
- Jul 15, 2009, 10:41:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/Data/src/Segment_read.cpp
r81 r134 1 1 #include "../include/Segment.h" 2 #include "../../Common/include/Debug.h" 2 3 3 4 namespace environment { … … 6 7 void Segment::read (uint32_t address, uint32_t size, char * & data_dest) 7 8 { 9 // _cout(true," * kane\n"); 10 // _cout(true," * address : %.8x\n",address); 8 11 for (uint32_t it = 0; it < size ; it ++) 9 data_dest [it] = data[address-base+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 } 10 16 } 11 17
Note: See TracChangeset
for help on using the changeset viewer.