From e6fa92a5e24c08acdaaf3f85615aa573d74f49ff 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 da83ff9a7..f8149d1aa 100644 --- a/amaranth/rpc.py +++ b/amaranth/rpc.py @@ -79,7 +79,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).__qualname__}: {str(error)}"}