Searched refs:target_mem (Results 1 - 1 of 1) sorted by relevance

/gem5/src/systemc/tests/tlm/endian_conv/
H A Dtest_endian_conv.cpp135 unsigned char target_mem[BUFFER_SIZE+1]; local
136 memset(target_mem, 0, BUFFER_SIZE+1);
137 fin.ignore(10000,'='); fin >> target_mem; local
159 cout << " Target memory = " << target_mem << endl;
209 memcpy(ss+txn.get_data_ptr(), target_mem+txn.get_address(), sw);
211 memcpy(target_mem+txn.get_address(), ss+txn.get_data_ptr(), sw);
218 (txn.get_data_ptr())[ss+j] = target_mem[j+txn.get_address()];
223 target_mem[j+txn.get_address()] = (txn.get_data_ptr())[ss+j];
253 cout << " target = " << target_mem << endl << endl;

Completed in 5 milliseconds