Changeset 101 for trunk/IPs/systemC/Environment/Data/src/Segment_test.cpp
- Timestamp:
- Jan 15, 2009, 6:19:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/Data/src/Segment_test.cpp
r81 r101 1 1 #include "../include/Segment.h" 2 #include "../../Common/include/Debug.h" 2 3 3 4 namespace environment { … … 11 12 bool Segment::test (uint32_t address, uint32_t size) 12 13 { 14 // _cout(DATA," * Segment::test\n"); 15 // _cout(DATA," * address : %.8x\n",address ); 16 // _cout(DATA," * size : %d\n" ,size ); 17 // _cout(DATA," * segment base : %.8x\n",this->base); 18 // _cout(DATA," * segment size : %.8x\n",this->size); 19 13 20 bool res = (((address ) >= (this->base )) and 14 21 ((address+size) <= (this->base+this->size)));
Note: See TracChangeset
for help on using the changeset viewer.