From a092927139a0d33a47a6ce981a63293eb2015e37 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 15 Nov 2022 13:16:50 +0100 Subject: [PATCH] cores/cpu: Revert custom __init__ (Required by CPUNone designs). --- litex/soc/cores/cpu/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/litex/soc/cores/cpu/__init__.py b/litex/soc/cores/cpu/__init__.py index 0a5c101c2..52c192d6e 100644 --- a/litex/soc/cores/cpu/__init__.py +++ b/litex/soc/cores/cpu/__init__.py @@ -32,6 +32,9 @@ class CPU(Module): csr_decode = True reset_address_check = True + def __init__(self, *args, **kwargs): + pass + def set_reset_address(self, reset_address): pass # pass must be overloaded (if required)