Commit da2efa9b authored by Davide Pala's avatar Davide Pala
Browse files

commented out stack pointer tracing

parent 24456e5e
Pipeline #212770 passed with stages
in 16 minutes and 28 seconds
......@@ -137,9 +137,8 @@ void BasicSimulator::printCycle()
core.extoMem.result
);
}
if ((core.memtoWB.rd == 2) && core.memtoWB.useRd && !core.stallSignals[STALL_WRITEBACK] && !core.stallIm && !core.stallDm){
fprintf(traceFile, "%lu: Stack operation, oldsp = %d, sp = %d\n", core.cycle, core.regFile[2], core.memtoWB.result);
}
//if ((core.memtoWB.rd == 2) && core.memtoWB.useRd && !core.stallSignals[STALL_WRITEBACK] && !core.stallIm && !core.stallDm)
// fprintf(traceFile, "%lu: Stack operation, oldsp = %d, sp = %d\n", core.cycle, core.regFile[2], core.memtoWB.result);
/*
if ((core.extoMem.instruction == 0xff010113) && !core.stallSignals[STALL_EXECUTE] && !core.stallSignals[STALL_MEMORY]) // addi sp, sp, -16
fprintf(traceFile, "%lu: Stack allocation -16, oldsp = %d, sp = %d\n", core.cycle, core.regFile[2], core.extoMem.result);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment