From de685ca026ba1eee4d115d664621a1c498410589 Mon Sep 17 00:00:00 2001 From: Robin Ole Heinemann Date: Mon, 11 Nov 2024 18:40:28 +0100 Subject: [PATCH] rpc: use rtlil instead of ilang The ilang alias to the rtlil frontend got removed in https://github.com/YosysHQ/yosys/pull/4704 --- amaranth/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amaranth/rpc.py b/amaranth/rpc.py index af0f125..c34b22b 100644 --- a/amaranth/rpc.py +++ b/amaranth/rpc.py @@ -75,7 +75,7 @@ def _serve_yosys(modules): if not port_name.startswith("_") and isinstance(port, (Signal, Record)): ports += port._lhs_signals() rtlil_text = rtlil.convert(elaboratable, name=module_name, ports=ports) - response = {"frontend": "ilang", "source": rtlil_text} + response = {"frontend": "rtlil", "source": rtlil_text} except Exception as error: response = {"error": f"{type(error).__name__}: {str(error)}"}