Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 933f8186 authored by Davide Pala's avatar Davide Pala

Increment core.cycle unconditionally at the end of doCycle()

parent 62203493
Pipeline #133175 passed with stages
in 5 minutes and 47 seconds
......@@ -731,12 +731,13 @@ void doCycle(struct Core& core, // Core containing all values
if (wbOut_temp.we && wbOut_temp.useRd && !localStall && !core.stallIm && !core.stallDm) {
core.regFile[wbOut_temp.rd] = wbOut_temp.value;
core.cycle++;
}
branchUnit(ftoDC_temp.nextPCFetch, dctoEx_temp.nextPCDC, dctoEx_temp.isBranch, extoMem_temp.nextPC,
extoMem_temp.isBranch, core.pc, core.ftoDC.we, core.dctoEx.we,
core.stallSignals[STALL_FETCH] || core.stallIm || core.stallDm || localStall);
core.cycle++;
}
// void doCore(IncompleteMemory im, IncompleteMemory dm, bool globalStall)
......
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