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
|
case (req.first) matches
|
||||||
tagged Ping: begin
|
tagged Ping: begin
|
||||||
req.deq();
|
req.deq();
|
||||||
resp.enq(DebugResponse{data: 0});
|
resp.enq(DebugResponse{data: 'hEA});
|
||||||
end
|
end
|
||||||
tagged MemByteOp .op: begin
|
tagged MemByteOp .op: begin
|
||||||
mem_req.enq(op);
|
mem_req.enq(op);
|
||||||
|
|
|
@ -44,7 +44,7 @@ module mkTB();
|
||||||
|
|
||||||
action
|
action
|
||||||
let pong <- get();
|
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");
|
dynamicAssert(cycles == 1, "wrong debugger delay");
|
||||||
endaction
|
endaction
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue