https://open-source-silicon.dev logo
t

Tim Edwards

04/08/2021, 12:40 PM
@User: This looks like the error when you don't apply Stefan Schipper's patch to the sky130_fd_pr library to move the "nf" parameter up in front of the other parameters that use it as a reference.
s

shbo

04/08/2021, 3:26 PM
Thanks @Tim Edwards for to-the-point direction. I corrected the "nf" parameter position in model library files and the error went away.
t

Tim Edwards

04/08/2021, 3:29 PM
@shbo : If you use the open_pdks installation, then the patch is applied automatically when generating the model libraries.
s

shbo

04/08/2021, 3:52 PM
@Tim Edwards, I think my open_pdks installation is outdated. I will update it soon.
t

Tim Edwards

04/08/2021, 3:53 PM
True, that was a relatively recent addition.
i

iain

04/27/2021, 8:24 PM
In case it is helpful, just wanted to add I installed with the open_pdks route yesterday and had the same issue. The sky130_fd_pr_ngspice directory was there, but the patch was not applied in it. If I download the patch and run it manually, then I can simulate. Finding this discussion was very helpful!
t

Tim Edwards

04/28/2021, 2:21 PM
@iain: Thanks for the feedback. What version of open_pdks were you using? I posted an upate to opencircuitdesign.com yesterday that affects the patch file application, so I want to make sure that I didn't mess up something (it worked fine on my end, but that's often not the full story).
i

iain

04/28/2021, 9:46 PM
@Tim Edwards The version I have is 1.0.148, and I see the most up to date is now 1.0.150, so perhaps in the latest version it is OK.