You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use YoWASP with nmigen on an Intel Mac (on Catalina), but it seems that it is not detected by nmigen. pip freeze inside my virtualenv looks like this:
When I try to run the 01_blinky.py example, I get the following traceback:
Traceback (most recent call last):
File "/Users/jeremy/Seafile/misc_projects/nmigen_playing/main.py", line 21, in <module>
platform.build(Blinky(), do_program=False)
File "/Users/jeremy/Seafile/misc_projects/nmigen_playing/venv/lib/python3.9/site-packages/nmigen/build/plat.py", line 71, in build
require_tool(tool)
File "/Users/jeremy/Seafile/misc_projects/nmigen_playing/venv/lib/python3.9/site-packages/nmigen/_toolchain.py", line 33, in require_tool
raise ToolNotFound("Could not find required tool {} in PATH. Place "
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
yowasp-yosys and yowasp-nextpnr-* are definitely on my path; yowasp-yosys --version returns:
There's a subtlety here that I think tripped you up: the nmigen-yosys package (which is being used properly) is only useful to generate Verilog. You're building an example that uses a board, which needs a complete toolchain. There is no special knowledge of YoWASP in nMigen; so you're expected to provide the environment variables, just like if you were using any other toolchain build that doesn't put Yosys on PATH.
Perhaps this is an issue for a different tracker, but I do have the YoWASP toolchain on my path (incl all of the ice40/ecp5 tools), but nmigen doesn't seem to be detecting it. Is it because of the yowasp- prefix on all of the commands?
Hi,
I am trying to use YoWASP with nmigen on an Intel Mac (on Catalina), but it seems that it is not detected by nmigen.
pip freeze
inside my virtualenv looks like this:When I try to run the
01_blinky.py
example, I get the following traceback:yowasp-yosys
andyowasp-nextpnr-*
are definitely on my path;yowasp-yosys --version
returns:Do I need to specifically force the use of YoWASP using the environment variables mentioned in the traceback?
The text was updated successfully, but these errors were encountered: