Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yosys v0.8 not supported, causes assertion error #192

Closed
RobertBaruch opened this issue Sep 2, 2019 · 2 comments
Closed

yosys v0.8 not supported, causes assertion error #192

RobertBaruch opened this issue Sep 2, 2019 · 2 comments
Labels

Comments

@RobertBaruch
Copy link

When attempting to generate from the ctr.py example:

$ python3 ctr.py generate
Traceback (most recent call last):
  File "ctr.py", line 19, in <module>
    main(ctr, ports=[ctr.o])
  File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/cli.py", line 76, in main
    main_runner(parser, parser.parse_args(), *args, **kwargs)
  File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/cli.py", line 58, in main_runner
    output = verilog.convert(fragment, name=name, ports=ports)
  File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/back/verilog.py", line 68, in convert
    return _convert_il_text(il_text, strip_src)
  File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/back/verilog.py", line 27, in _convert_il_text
    raise YosysError("Yosys %d.%d is not suppored", *version)
nmigen.back.verilog.YosysError: ('Yosys %d.%d is not suppored', 0, 8)

$ yosys -V
Yosys 0.8+652 (git sha1 d16178f2, clang 6.0.0-1ubuntu2 -fPIC -Os)
@whitequark
Copy link
Contributor

That is correct. Yosys 0.8 is not supported. Use 0.9 or master.

@RobertBaruch
Copy link
Author

RobertBaruch commented Sep 2, 2019

Oh wait, I was using master that I pulled on August 15 -- yosys has been updated since, apparently!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants