From 84439e4abf7f08050a4656124673a58752e30ca6 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 16 Apr 2022 14:51:47 +0100 Subject: [PATCH] put the old microwatt compatibility back PLEASE DO NOT CHANGE THIS WITHOUT CONSULTATION --- src/soc/simple/core.py | 2 +- src/soc/simple/issuer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2