Skip to content

Commit

Permalink
rpc: use rtlil instead of ilang
Browse files Browse the repository at this point in the history
The ilang alias to the rtlil frontend got removed in YosysHQ/yosys#4704
  • Loading branch information
rroohhh authored and whitequark committed Nov 19, 2024
1 parent 3857822 commit af2c5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amaranth/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}"}

Expand Down

0 comments on commit af2c5ab

Please sign in to comment.