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

Making user libraries #140

Closed
tomhajjar opened this issue Aug 20, 2022 · 2 comments
Closed

Making user libraries #140

tomhajjar opened this issue Aug 20, 2022 · 2 comments

Comments

@tomhajjar
Copy link

I investigated further the issues I was having making an Op Amp user library. For the Op Amps I chose, if I make a library of a single Op Amp, it works in my circuit. If I try and make a library of more than one Op Amp, some don't work. When compare the files I can't see the reason for the issues. I'm using Qucscov from Qucs 0.0.20.

I made a simple test circuit. Ignore the crappy cross over distortion of the LM358.

user_lib.zip
Op Amp Library Test_prj.zip

@ra3xdh ra3xdh modified the milestone: c Aug 20, 2022
@ra3xdh
Copy link
Owner

ra3xdh commented Aug 20, 2022

I have tried to create a library from your project and found no issues. Everything works as expected. After inspection of your library file OpAmp.lib I suspect that it was either renamed with file manager or edited with text editor.

The components iside the library have the following name format OpLib_component_name. But the library name is OpAmp.lib Qucs-S netlister makes subciruit name for LibComp as following LibName_CompName. If the file name and subciruit name inside library are not matching you will get unknown subcircuit error. Please ensure that the library name and subciruit name are matching and the library will work.

Also I advice to avoid spaces in subcircuit and component names when making library. It also may cause issues with Ngspice, because spaces are not allowed in subcircuit .SUBCKT name.

@ra3xdh
Copy link
Owner

ra3xdh commented Oct 19, 2022

Assume the problem with creating a user library has been resolved. Closing this.

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

No branches or pull requests

2 participants