self.busy_o = Signal(name="corebusy_o", reset_less=True)
# start/stop and terminated signalling
- self.core_stopped_i = Signal(reset_less=True)
self.core_terminate_o = Signal(reset=0) # indicates stopped
# create per-FU instruction decoders (subsetted)
m.next = "INSN_WAIT"
with m.Else():
# tell core it's stopped, and acknowledge debug handshake
- comb += core.core_stopped_i.eq(1)
comb += dbg.core_stopped_i.eq(1)
# while stopped, allow updating the PC and SVSTATE
with m.If(self.pc_i.ok):
m.next = "PRED_SKIP"
with m.Else():
- comb += core.core_stopped_i.eq(1)
comb += dbg.core_stopped_i.eq(1)
# while stopped, allow updating the PC and SVSTATE
with m.If(self.pc_i.ok):