From 4f471490a87921e6b1fb78f44da5db12a061fad6 Mon Sep 17 00:00:00 2001 From: Piotr Wojnarowski Date: Mon, 13 Jun 2022 14:45:36 +0200 Subject: [PATCH] tools/litex_json2renode: Output silenced range start address as hex --- litex/tools/litex_json2renode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/tools/litex_json2renode.py b/litex/tools/litex_json2renode.py index 259eea571..e7dfc8b0c 100755 --- a/litex/tools/litex_json2renode.py +++ b/litex/tools/litex_json2renode.py @@ -186,7 +186,7 @@ def generate_silencer(csr, name, **kwargs): return """ sysbus: init add: - SilenceRange <{} 0x200> # {} + SilenceRange <0x{:08x} 0x200> # {} """.format(csr['csr_bases'][name], name)