Revert "Sort of support 2 cores for starting and halting."

This reverts commit b4b7718aa2.
This commit is contained in:
Jonathan Woodruff
2020-10-16 15:44:53 +01:00
parent b4b7718aa2
commit 29168574ca

View File

@@ -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);