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

AnalogueCM.lib issues #152

Closed
1 task done
tomhajjar opened this issue Sep 11, 2022 · 6 comments
Closed
1 task done

AnalogueCM.lib issues #152

tomhajjar opened this issue Sep 11, 2022 · 6 comments
Labels
Milestone

Comments

@tomhajjar
Copy link

tomhajjar commented Sep 11, 2022

The AnalogueCM.lib library doesn't work. Some type of path issue

TODO list from @ra3xdh

  • Fix logical operations conversion for Qucs legacy equations
@ra3xdh
Copy link
Owner

ra3xdh commented Sep 12, 2022

This library uses XSPICE code models and requires installed GCC compiler and make utility for operation. Otherwise it will not work. The AnanlogueCM.lib is only library using Code models. It is not a problem for Linux platform but may have some difficulties for Windows. Do you have MINGW and Make installed and available in $PATH?

@ra3xdh ra3xdh added the library label Sep 12, 2022
@tomhajjar
Copy link
Author

I believe I did a very long time ago on another PC. Not sure this library ever worked however. The library is not useful for me so it's not worthwhile trying make it work.

@ra3xdh ra3xdh closed this as completed Sep 13, 2022
@tomhajjar
Copy link
Author

tomhajjar commented Sep 17, 2022

You can add the MESFETCL1 component in the MESFET library to the list.

As an aside, the Mike Brinson EDD based MESFET model doesn't work in Qucs-S. It does works in Qucs.

@tomhajjar
Copy link
Author

2022-09-17_174612
2022-09-17_181529
2022-09-17_181332

MESFET_Curtice_prj.zip

@ra3xdh ra3xdh reopened this Sep 18, 2022
@ra3xdh
Copy link
Owner

ra3xdh commented Sep 18, 2022

Yes, there is a bug with Qucs equations support. The parser doesn't recognize the V1 voltage near the && logical operator and doesn't convert it to the SPICE syntax. As a workaround you may to wrap the condition in parentheses.
image
After this correction is applied, the circuit could be simulated without error. Also the equation Eqn1 should be deleted because it duplicates the current probe.

@ra3xdh ra3xdh added bug and removed library labels Sep 18, 2022
@ra3xdh ra3xdh added this to the 1.0.0 milestone Sep 18, 2022
@ra3xdh
Copy link
Owner

ra3xdh commented Sep 24, 2022

I have added a fix for the EDD equations parser. Closing this.

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

No branches or pull requests

2 participants