From 29168574ca3c03e8d1208f12a15720ef49eacf27 Mon Sep 17 00:00:00 2001 From: Jonathan Woodruff Date: Fri, 16 Oct 2020 15:44:53 +0100 Subject: [PATCH] Revert "Sort of support 2 cores for starting and halting." This reverts commit b4b7718aa2b71bbcfe8c2c9817619266eaa221b9. --- src_Core/CPU/Proc.bsv | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src_Core/CPU/Proc.bsv b/src_Core/CPU/Proc.bsv index 27d6ec6..54f6852 100644 --- a/src_Core/CPU/Proc.bsv +++ b/src_Core/CPU/Proc.bsv @@ -313,22 +313,7 @@ module mkProc (Proc_IFC); `ifdef INCLUDE_GDB_CONTROL // run/halt, gpr, mem and csr control goes to core - interface Server hart0_run_halt_server; - interface Put#(Bool) request; - method Action Put#(Bool x) put; - for(Integer i = 0; i < valueof(CoreNum); i = i+1) - core[i].hart0_run_halt_server.request.put(x); - endmethod - endinterface - interface Get#(Bool) response; - method ActionValue#(Bool) get; - Vector#(Bool,i) resp; - for(Integer i = 0; i < valueof(CoreNum); i = i+1) - resp[i] = core[i].hart0_run_halt_server.response.get(x); - return resp[0]; - endmethod - endinterface - endinterface + interface Server hart0_run_halt_server = core [0].hart0_run_halt_server; interface Put hart0_put_other_req; method Action put (Bit #(4) req);