From a9caeda30e3a43c4d99d9a48bcd7dd9888f5f8b5 Mon Sep 17 00:00:00 2001 From: Mateusz Karlic Date: Fri, 7 Oct 2022 12:12:27 +0200 Subject: [PATCH] json2renode: Fix typo --- litex/tools/litex_json2renode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/tools/litex_json2renode.py b/litex/tools/litex_json2renode.py index c07f909c6..5665b5204 100755 --- a/litex/tools/litex_json2renode.py +++ b/litex/tools/litex_json2renode.py @@ -581,7 +581,7 @@ peripherals_handlers = { } -def genereate_etherbone_bridge(name, address, port): +def generate_etherbone_bridge(name, address, port): # FIXME: for now the width is fixed to 0x800 return """ {}: EtherboneBridge @ sysbus <{}, +0x800> @@ -649,7 +649,7 @@ def generate_repl(csr, etherbone_peripherals, autoalign): if name in etherbone_peripherals: # generate an etherbone bridge for the peripheral port = etherbone_peripherals[name] - result += genereate_etherbone_bridge(name, address, port) + result += generate_etherbone_bridge(name, address, port) pass else: # generate an actual model of the peripheral