From: whitequark Date: Wed, 16 Oct 2019 02:25:35 +0000 (+0000) Subject: back.verilog: fix Yosys version check. X-Git-Tag: v0.1~15 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58300d8eb6b3d9cb822f452721c232b5a879907d;p=nmigen.git back.verilog: fix Yosys version check. --- diff --git a/nmigen/back/verilog.py b/nmigen/back/verilog.py index 1e97dd4..b1e29a6 100644 --- a/nmigen/back/verilog.py +++ b/nmigen/back/verilog.py @@ -24,7 +24,7 @@ def _yosys_version(): def _convert_rtlil_text(rtlil_text, *, strip_internal_attrs=False, write_verilog_opts=()): version, offset = _yosys_version() if version < (0, 9): - raise YosysError("Yosys %d.%d is not suppored", *version) + raise YosysError("Yosys %d.%d is not suppored".format(*version)) attr_map = [] if strip_internal_attrs: