Changeset 88 for trunk/IPs/systemC/Environment/Data/src/Segment_init.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/Data/src/Segment_init.cpp
r81 r88 1 1 #include "../include/Segment.h" 2 #include "../../Common/include/Debug.h" 2 3 3 4 namespace environment { … … 22 23 23 24 memcpy(data, ptab, size); 24 25 25 26 free (ptab); 27 28 29 // { 30 // _cout(DATA,"Segment Init\n"); 31 // _cout(DATA," * size : %d\n",size); 32 // _cout(DATA," * size : %d\n",this->size); 33 // _cout(DATA,"%s\n",print(0).c_str()); 34 35 // uint32_t addr = base; 36 // uint32_t step1 = 4; 37 // uint32_t step2 = step1*8; 38 39 // for (int32_t i=0; i<size; ++i) 40 // { 41 // if ((i%step1) == 0) 42 // _cout(DATA," "); 43 // if ((i%step2) ==0) 44 // { 45 // _cout(DATA,"\n%.8x : ",addr); 46 // addr += step2; 47 // } 48 // _cout(DATA,"%.2x",0xff&static_cast<uint32_t>(data[i])); 49 // } 50 // _cout(DATA,"\n"); 51 // } 26 52 27 53 return true;
Note: See TracChangeset
for help on using the changeset viewer.