Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit d546cd3a authored by ROKICKI Simon's avatar ROKICKI Simon
Browse files

Solved (correctly) the bug with syscall. This branch should now pss CI

parent d9037003
...@@ -34,7 +34,7 @@ public: ...@@ -34,7 +34,7 @@ public:
extoMem.isBranch = 0; extoMem.isBranch = 0;
extoMem.useRd = dctoEx.useRd; extoMem.useRd = dctoEx.useRd;
extoMem.isLongInstruction = 0; extoMem.isLongInstruction = 0;
extoMem.instruction = dctoEx.instruction;
ac_int<13, false> imm13 = 0; ac_int<13, false> imm13 = 0;
......
...@@ -372,7 +372,7 @@ ac_int<32, true> BasicSimulator::ldd(ac_int<32, false> addr) ...@@ -372,7 +372,7 @@ ac_int<32, true> BasicSimulator::ldd(ac_int<32, false> addr)
void BasicSimulator::solveSyscall() void BasicSimulator::solveSyscall()
{ {
if((core.extoMem.opCode == RISCV_SYSTEM) && core.extoMem.instruction.slc<25>(7) == 0 && !core.stallSignals[2] && !core.stallIm && !core.stallDm && !core.stallAlu){ if((core.extoMem.opCode == RISCV_SYSTEM) && core.extoMem.instruction.slc<12>(20) == 0 && !core.stallSignals[2] && !core.stallIm && !core.stallDm && !core.stallAlu){
ac_int<32, true> syscallId = core.regFile[17]; ac_int<32, true> syscallId = core.regFile[17];
ac_int<32, true> arg1 = core.regFile[10]; ac_int<32, true> arg1 = core.regFile[10];
......
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