debugger/Debugger: return correct magic from ping commands
This commit is contained in:
parent
ee1aecf0b9
commit
789d8d002b
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue