-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Introduce optional netlisting to console #1201
base: current
Are you sure you want to change the base?
Conversation
Can be extended to the other SPICE dialects too. |
This feature is already implemented for Ngspice and Xyce. Only CDL is missing.
|
Also what happens if one generate CDL netlist and use |
Ok, that's missing. I will add it. |
I would add something like doCdlNetList() if !run_flag && cdl_flag, either to console or to file depending on netlist2Console. @ra3xdh: What do you think? |
CLI switch --cdl with the corresponding logic added |
I have recently noticed that you have a leftover bool chains in
This should be replaced by |
-Replaced qucs_s manual commandline parsing with QCommandLineParser -Introduced new cli-parameter for netlisting to console Signed-off-by: ThomasZecha <[email protected]>
-Implemented conditional netlisting to console for CDL -forced using trailing a_ for class attributes instead ms-style m_ for class QucsApp -removed unused attribute m_projModel from class QucsApp Signed-off-by: ThomasZecha <[email protected]>
-Introduced cli parameter --cdl for netlisting CDL -Implemented netlisting to console for ngspice and xyce -Increased readability and introduced smart-pointer semantics for some qucs-s main.cpp functions -Increased readability and introduced c++ cast's for casting to Schematic* for affected QucsApp::slotSimulateWithSpice and QucsApp::slotSaveNetlist Signed-off-by: ThomasZecha <[email protected]>
-Replaced Component::getExpression(bool isXyce, bool isCdl) with Component::getExpression(spicecompat::SpiceDialect dialect) Signed-off-by: ThomasZecha <[email protected]>
-Replaced Component::getProbeVariable(bool isXyce) with Component::getProbeVariable(spicecompat::SpiceDialect dialect) Signed-off-by: ThomasZecha <[email protected]>
Fixed. |
CDL netlist will be written to console instead to file depending on qucs-s command-line parameter.