-
Notifications
You must be signed in to change notification settings - Fork 215
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
qucsconv: wrong SPICE netlist conversion #487
Comments
first of all, could you add a unit test on this? it shouldn't be that complicated to trigger such a massive error... |
yep, the circuit with the LM358 used to be part of |
qucsconv should not "support" any component at all. it should be the other way around. then, every component (component library) should/could/might carry the relevant tests... does it have to be LM358? from the output you provide i'd expect this to fail on any circuit.. |
ehm, should I have used "accepted" instead of "supported"? What I meant to say is that, AFAIK, we do not check that every spice component that can be converted by Agree, it doesn't have to be an LM358 (likely, but didn't check), was just to say that this may have been caught before and due to a chain of events, wasn't. |
you write "we"... once components are in libraries, it will be the responsibility of the maintainer/author of that library to test properly... a task completely independent of qucs development or release cycles. or put it this way: if the components we had to remove were just a (self contained/optional) blob in but back to topic: do you have the slightest idea why this broke down? i cannot see the connection... |
AFAIK, the Qucs Components Libraries are already pre-digested (pre-converted from Spice to I have no idea why it broke, I did not really check anything, besides the |
Fixed by commit 747a580 in |
* Use a mutable interator to remove previously registered modules. Deleting the items of a non-mutable iterator results in a crash. * Take care of clearing the icon list when module are unloaded.
trying to run a simulation with the LM358 spice model using the example referenced in #186 ; the output of
qucsconv
is partly wrong and the netlist checker complains.A quick
bisect
says that the culprit is bfc7200Portion of netlist converted by the current
qucsconv
, with errors:same portion, with previous version of
qucsconv
:Note that in the current version the diodes are not converted correctly
The text was updated successfully, but these errors were encountered: