mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
add a trace debug print in engine emulation for correlation
against cycle-accurate verilog simulator.
This commit is contained in:
parent
3c67e7a89b
commit
74e2f3f2d2
1 changed files with 6 additions and 0 deletions
|
|
@ -455,6 +455,12 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous
|
||||||
this.illegalOpcodeStatus = true;
|
this.illegalOpcodeStatus = true;
|
||||||
throw new Exception("Unhandled opcode");
|
throw new Exception("Unhandled opcode");
|
||||||
}
|
}
|
||||||
|
//this.Log(LogLevel.Error, "RAM[0x{0:X}] {1}\n Ra:{2:x}\n Rb:{3:x}\n W:{4:x}", this.mpc, op,
|
||||||
|
// this.engineRam.ReadRegister(op.Ra, op.Ca),
|
||||||
|
// this.engineRam.ReadRegister(op.Rb, op.Cb),
|
||||||
|
// this.engineRam.ReadRegister(op.Wd, false)
|
||||||
|
//);
|
||||||
|
|
||||||
// Interlocked.Increment(ref this.mpc);
|
// Interlocked.Increment(ref this.mpc);
|
||||||
this.mpc += 1;
|
this.mpc += 1;
|
||||||
if (op.Op == 10)
|
if (op.Op == 10)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue