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

Using nMigen with YoWASP in Windows #642

Closed
fnsangiul opened this issue Oct 11, 2021 · 2 comments
Closed

Using nMigen with YoWASP in Windows #642

fnsangiul opened this issue Oct 11, 2021 · 2 comments
Labels

Comments

@fnsangiul
Copy link

Hello, I'm having an issue trying to run the Blinky example with the icestick board. I installed nmigen (not nmigen-yosys), nmigen-boards, yowasp-yosys and yowasp-nextpnr-ice40 in Windows 10. When I try to program the board I get the following error

nmigen._toolchain.ToolNotFound: Could not find required tool yosys in PATH. Place it directly in PATH or specify path explicitly via the YOSYS environment variable

I understand that the toolchain for the ice40 has to be installed separately and the environment variables defined, however I can't make it work. How do I link the toolchain installed with YoWASP in Windows? Please excuse me if I'm not describing my issue properly.

Thank you

@whitequark
Copy link
Member

Before running nMigen, use:

set YOSYS=yowasp-yosys
set NEXTPNR_ICE40=yowasp-nextpnr-ice40
set ICEPACK=yowasp-icepack

@fnsangiul
Copy link
Author

Thank you! It worked

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

No branches or pull requests

2 participants