Add ifdefs for GDB control on helper functions

This commit is contained in:
Peter Rugg
2021-02-08 14:48:54 +00:00
parent fb5339e9ca
commit a78d09c522

View File

@@ -253,6 +253,8 @@ module mkProc (Proc_IFC);
end
endrule
`ifdef INCLUDE_GDB_CONTROL
let emptyPut = interface Put
method put (x) = noAction;
endinterface;
@@ -262,6 +264,7 @@ module mkProc (Proc_IFC);
function proj_fpr_mem_server (x) = x.hart_fpr_mem_server;
`endif
function proj_csr_mem_server (x) = x.hart_csr_mem_server;
`endif
// ================================================================
// ================================================================