Found bug in gem5/src/mem/abstract_mem.cc
Opened this issue · 1 comments
anaarduengo commented
I have not been able to run the simulator, but I was having a look at the code and I saw the following in line 458 of the file gem5/src/mem/abstract_mem.cc
for(auto i=pendingPIMqueue.begin();i!=pendingPIMqueue.end();i++){
if((*i)->addr[0]==senderState->addr[0]&&(*i)->addr[0]==senderState->addr[0]&&(*i)->addr[0]==senderState->addr[0]){
found=true;
index=i;
threadid=(*i)->threadid;
break;
}
}
The condition of the if repeats three times, I think it should be checking that the positions 0, 1 and 2 of the addr vector are the same as the ones of the addr vector in the SenderState.
NabiiBux commented
Tell me which software you are using for the simulation of gem5 and pim simulation
Help me