From: whitequark Date: Wed, 16 Oct 2019 02:25:35 +0000 (+0000) Subject: back.verilog: fix Yosys version check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81fc91fac858cd85fe6108e199b5ad97dd10de44;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: