back.verilog: fix Yosys version check.
This commit is contained in:
parent
5198d99b5e
commit
58300d8eb6
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue