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)