-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Quc-S is inserting ".PARAM Export = no" into the netlist #1105
Comments
@tomhajjar Remove the "Put result in dataset" checkbox in the @iwbnwif Please have a look at this. The Put result in dataset should not be enabled only for Qucs equations. The .PARAM is never put in the dataset. And Nutmeg equations is always put in the dataset. SPICE handles the both automatically and there is no way to control this manually. The Put result in dataset is Qucsator only feature. |
I cannot reproduce this with my schematics. The error appears only if this checkbox is checked. Need further investigations. |
What about the project I sent? It doesn't happen in my other projects. |
Yes, i can reproduce it. I have found that the |
Please can I check if this should say "should be enabled only for Qucs equations"? I.e., no other forms of equations even need this checkbox |
Yes, this is a typo. This option should present only for Qucs equations. |
How is it the schematic line format changed? Old: New: |
This is a bug. The SpicePar should not contain Export property. |
Editing the schematic with a text editor is a short term solution that works. |
@tomhajjar thank you for spotting this. I have put in a PR to hopefully fix this problem. The line Please let me know if you find any other problems or this doesn't fix it. |
@tomhajjar sorry slightly OT but when I run the simulation in your project the ngspice result set does not match with the graphs. I've noticed this with quite a few of the examples that you provide. For example, I have no d_clk or d_out1 results, and I am wondering why that is? |
I noticed this as well. There is always one missing vector. Many times I don't plot all the vectors and don't know what's missing. Now if I could only get my various phase-frequency detectors to work... |
Good luck! It's very useful that you are giving the new dialog a good workout. I hope it makes inputting and editing equations a little bit easier. |
Fixed by #1106 |
I don't see this happening in all the other cases of using ".PARAM" in a schematic but Quc-S is inserting ".PARAM Export = no" into this "XSPICE" netlist causing ngspice to flag it as an error and halting.
I'm looking into using XSPICE for "Systems Analysis" and wanted to reproduce the ngspice XSPICE PLL example. Unfortunately this issue popped up.
For this specific case, "Phase_Freq_Det_test.sch" I'm trying to make a schematic of "test-f-p-det.cir" and trying to understand why Holger's netlist it is so "complex". It has digital zero, digital one, d to a for plotting...etc. Does XSPICE digital really require all this extra "support" in a netlist?
XSPICE_PLL_prj.zip
The text was updated successfully, but these errors were encountered: