-
Notifications
You must be signed in to change notification settings - Fork 12
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
ERROR: Module \cpu_mem' referenced in module
\cpu' in cell `\mem' is not part of the design
#4
Comments
I am aveare of the issue, i should have opened that myself. If i find time i will defenetly work to fix it. However if you try to fix it i would be very pleased to merge the changes. |
Hi!
|
I have submitted the changes. Please try now 😃 |
Hi @AleksandarKostovic , I am having same issue while synthesizing my design on Yosys. Changed the instance name as same as submodule name but still getting this error |
Never mind. Just figured it out. Included file in project, now it works. |
Hi @Saad525 . I am having the same issue. Can you please tell me what your solution is? |
@Superstite i think it was resolved by including that file (the module of which is instantiated) in top file. |
Hi, thanks @Saad525. |
yosys -p 'synth_ice40 -top top -json top.json' top.v
....
....
....
2.2.1. Analyzing design hierarchy..
Top module: \top
Used module: \timer
Used module: \uart
Used module: \ram
Used module: \cpu
Used module: \bus_arbiter
Used module: \sync
ERROR: Module
\cpu_mem' referenced in module
\cpu' in cell `\mem' is not part of the design.The text was updated successfully, but these errors were encountered: