Changeset 134 for trunk/IPs/systemC/Environment/Data/selftest/main.cpp
- Timestamp:
- Jul 15, 2009, 10:41:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/Data/selftest/main.cpp
r81 r134 31 31 32 32 { 33 Segment * seg1 = new Segment ();33 // Segment * seg1 = new Segment (); 34 34 35 TEST(seg1->getType (), TYPE_TARGET_MEMORY);36 TEST(seg1->getIndex (), 0);37 TEST(seg1->getBase (), 0);38 TEST(seg1->getSize (), 0);39 TEST(seg1->getUncached (), false);35 // TEST(seg1->getType (), TYPE_TARGET_MEMORY); 36 // TEST(seg1->getIndex (), 0); 37 // TEST(seg1->getBase (), 0); 38 // TEST(seg1->getSize (), 0); 39 // TEST(seg1->getUncached (), false); 40 40 41 seg1->define_target(TYPE_TARGET_SIM2OS,4);42 TEST(seg1->getType (), TYPE_TARGET_SIM2OS);43 TEST(seg1->getIndex (), 4);41 // seg1->define_target(TYPE_TARGET_SIM2OS,4); 42 // TEST(seg1->getType (), TYPE_TARGET_SIM2OS); 43 // TEST(seg1->getIndex (), 4); 44 44 45 cout << *seg1 << endl;45 // cout << *seg1 << endl; 46 46 47 47 SEGMENT_TABLE_ENTRY * entry = new SEGMENT_TABLE_ENTRY("entry", 0x100, 0x1024, 21, 7, true); … … 104 104 delete seg2; 105 105 delete entry; 106 delete seg1;106 // delete seg1; 107 107 } 108 108
Note: See TracChangeset
for help on using the changeset viewer.