summaryrefslogtreecommitdiff
path: root/cpu/trace/reader/m5_reader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/trace/reader/m5_reader.cc')
-rw-r--r--cpu/trace/reader/m5_reader.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/trace/reader/m5_reader.cc b/cpu/trace/reader/m5_reader.cc
index d6ec7be50..a1ada38a2 100644
--- a/cpu/trace/reader/m5_reader.cc
+++ b/cpu/trace/reader/m5_reader.cc
@@ -61,6 +61,8 @@ M5Reader::getNextReq(MemReqPtr &req)
tmp_req = new MemReq();
tmp_req->paddr = ref.paddr;
tmp_req->asid = ref.asid;
+ // Assume asid == thread_num
+ tmp_req->thread_num = ref.asid;
tmp_req->cmd = (MemCmdEnum)ref.cmd;
tmp_req->size = ref.size;
tmp_req->dest = ref.dest;