rpc: use rtlil instead of ilang

The ilang alias to the rtlil frontend got removed in https://github.com/YosysHQ/yosys/pull/4704
This commit is contained in:
Robin Ole Heinemann 2024-11-11 18:40:28 +01:00 committed by tmbv
parent a0750b89c6
commit de685ca026

View file

@ -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)}"}