Skip to content

Add sleep import to eqy_job.py#92

Open
AUDIY wants to merge 3 commits intoYosysHQ:mainfrom
AUDIY:Fix_import_sleep
Open

Add sleep import to eqy_job.py#92
AUDIY wants to merge 3 commits intoYosysHQ:mainfrom
AUDIY:Fix_import_sleep

Conversation

@AUDIY
Copy link

@AUDIY AUDIY commented Mar 1, 2026

I encountered the following error when trying eqy within oss-cad-suite installed on Windows 11.

Traceback (most recent call last):
File "C:\StandalonePrograms\02_oss-cad-suite\bin\eqy-script.py", line 1260, in
main()
File "C:\StandalonePrograms\02_oss-cad-suite\bin\eqy-script.py", line 1213, in main
build_gate_gold(ctx.args, ctx, ctx.job)
File "C:\StandalonePrograms\02_oss-cad-suite\bin\eqy-script.py", line 319, in build_gate_gold
job.run()
File "C:\StandalonePrograms\02_oss-cad-suite\bin/../share/yosys/python3\eqy_job.py", line 670, in run
self.taskloop()
File "C:\StandalonePrograms\02_oss-cad-suite\bin/../share/yosys/python3\eqy_job.py", line 265, in taskloop
sleep(0.1)
^^^^^
NameError: name 'sleep' is not defined

After investigating, I found that sleep() from the time library is not imported.

Therefore, I would like to propose a fix.

Thanks.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant