debugger/Debugger: return correct magic from ping commands

This commit is contained in:
David Anderson 2024-09-18 21:31:34 -07:00
parent ee1aecf0b9
commit 789d8d002b
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ module mkDebugger(Debugger);
case (req.first) matches
tagged Ping: begin
req.deq();
resp.enq(DebugResponse{data: 0});
resp.enq(DebugResponse{data: 'hEA});
end
tagged MemByteOp .op: begin
mem_req.enq(op);

View File

@ -44,7 +44,7 @@ module mkTB();
action
let pong <- get();
dynamicAssert(pong == VRAMResponse{data: 0}, "wrong pong response");
dynamicAssert(pong == VRAMResponse{data: 'hEA}, "wrong pong response");
dynamicAssert(cycles == 1, "wrong debugger delay");
endaction