From 3b4bb083d4301620fcfa9f021d8269d291f12644 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 6 Nov 2022 21:51:29 +0100 Subject: [PATCH] build/parser: Fix CPU's args_read. --- litex/build/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/parser.py b/litex/build/parser.py index f1a2230ab..63ea96587 100644 --- a/litex/build/parser.py +++ b/litex/build/parser.py @@ -163,7 +163,7 @@ class LiteXArgumentParser(argparse.ArgumentParser): # Re-inject CPU read arguments. if cpu_cls is not None and hasattr(cpu_cls, "args_read"): - cpu_cls.args_read(args) + cpu_cls.args_read(self._args) return self._args