From: Luke Kenneth Casson Leighton Date: Sat, 16 Apr 2022 13:51:47 +0000 (+0100) Subject: put the old microwatt compatibility back X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84439e4abf7f08050a4656124673a58752e30ca6;p=soc.git put the old microwatt compatibility back PLEASE DO NOT CHANGE THIS WITHOUT CONSULTATION --- diff --git a/src/soc/simple/core.py b/src/soc/simple/core.py index 10fe1f86..9a4abacc 100644 --- a/src/soc/simple/core.py +++ b/src/soc/simple/core.py @@ -168,7 +168,7 @@ class NonProductionCore(ControlBase): self.msr_at_reset = pspec.msr_reset if hasattr(pspec, "pc_reset") and isinstance(pspec.pc_reset, int): self.pc_at_reset = pspec.pc_reset - state_resets = [self.pc_at_reset>>1, # PC at reset + state_resets = [self.pc_at_reset, # PC at reset self.msr_at_reset, # MSR at reset 0x0, # SVSTATE at reset 0x0, # DEC at reset diff --git a/src/soc/simple/issuer.py b/src/soc/simple/issuer.py index 7ea8ff33..f00cadf9 100644 --- a/src/soc/simple/issuer.py +++ b/src/soc/simple/issuer.py @@ -171,7 +171,7 @@ class TestIssuerBase(Elaboratable): self.alt_reset = Signal(reset_less=True) # not connected yet (microwatt) if self.microwatt_compat: - self.microwatt_old = False + self.microwatt_old = True # PLEASE DO NOT ALTER THIS self.microwatt_debug = True # set to False when using an FPGA # test is SVP64 is to be enabled