Lines Matching defs:trace

702             panic("Unknown TARMAC trace record type!");
730 exitSimLoop("a mismatch with the TARMAC trace has been detected "
733 exitSimLoop("a mismatch with the TARMAC trace has been detected "
749 outs << "\nMismatch between gem5 and TARMAC trace @ " << dec << curTick()
788 // TARMAC trace to next instruction
861 panic("Unknown TARMAC trace record type!");
865 // entries in the TARMAC trace have been parsed
873 exitSimLoop("a mismatch with the TARMAC trace has been detected "
884 ifstream& trace = parent.trace;
885 trace >> hex; // All integer values are in hex base
888 trace >> buf;
889 if (trace.eof())
891 trace >> buf >> buf;
894 trace >> buf;
898 if (trace.eof())
902 // Instruction trace record
907 trace >> buf;
909 trace >> instRecord.addr;
910 char c = trace.peek();
913 trace >> c >> buf;
915 trace >> instRecord.opcode;
916 trace >> buf;
928 warn("Invalid TARMAC trace record (seq_num: %lld)",
934 trace.ignore(MaxLineLength, '\n');
937 // Register trace record
939 trace >> buf;
1001 warn("Unknown register in TARMAC trace (%s).\n", buf);
1003 trace.ignore(MaxLineLength, '\n');
1009 trace.ignore();
1010 trace.get(buf, 17);
1013 trace.get(buf, 17);
1017 trace >> regRecord.valueLo;
1018 char c = trace.peek();
1022 trace >> c >> lsw;
1026 trace.ignore(MaxLineLength, '\n');
1031 trace >> memRecord.addr;
1032 char c = trace.peek();
1035 trace >> c >> buf;
1037 trace >> memRecord.data;
1038 trace.ignore(MaxLineLength, '\n');
1042 trace.ignore(MaxLineLength, '\n');
1093 trace >> hex; // All integer values are in hex base
1096 saved_offset = trace.tellg();
1097 trace >> buf >> buf >> buf;
1099 trace >> buf;
1101 trace >> buf >> pc;
1104 trace.seekg(saved_offset, ios::beg);
1107 trace.ignore(TarmacParserRecord::MaxLineLength, '\n');
1110 trace.ignore(TarmacParserRecord::MaxLineLength, '\n');
1112 if (trace.eof())
1113 panic("End of TARMAC trace reached before start PC\n");